def find_valid_workflow_ids(self, workflow_ids=None, labels=None, exclude_subworkflow=True):
    "Checks if workflow ID in `workflow_ids` are already valid UUIDs (without wildcards).\n        If so then we don't have to send the server a query to get matching workflow IDs.\n        "
    if ((not labels) and workflow_ids and all((is_valid_uuid(i) for i in workflow_ids))):
        return workflow_ids
    else:
        workflows = self.find(workflow_ids=workflow_ids, labels=labels, exclude_subworkflow=exclude_subworkflow)
        if (not workflows):
            return
        return [w['id'] for w in workflows]
Checks if workflow ID in `workflow_ids` are already valid UUIDs (without wildcards).
If so then we don't have to send the server a query to get matching workflow IDs.
def find_valid_workflow_ids(self, workflow_ids=None, labels=None, exclude_subworkflow=True):
    "Checks if workflow ID in `workflow_ids` are already valid UUIDs (without wildcards).\n        If so then we don't have to send the server a query to get matching workflow IDs.\n        "
    if ((not labels) and workflow_ids and all((is_valid_uuid(i) for i in workflow_ids))):
        return workflow_ids
    else:
        workflows = self.find(workflow_ids=workflow_ids, labels=labels, exclude_subworkflow=exclude_subworkflow)
        if (not workflows):
            return
        return [w['id'] for w in workflows]