@staticmethod
def is_cloned(job):
    for tag in (job.metadata.get('tags') or []):
        if tag.startswith('ClonedTo='):
            _LOG.warning(f'Job {job.key} already cloned. Skipped.')
            return True
    return False
@staticmethod
def is_cloned(job):
    for tag in (job.metadata.get('tags') or []):
        if tag.startswith('ClonedTo='):
            _LOG.warning(f'Job {job.key} already cloned. Skipped.')
            return True
    return False