def get_tag_id_by_tag_name(label_annotation, tag_name):
    assigned_tags = label_annotation.tags
    for current_tag in assigned_tags:
        if (current_tag.name == tag_name):
            return current_tag.sly_id
    return None
def get_tag_id_by_tag_name(label_annotation, tag_name):
    assigned_tags = label_annotation.tags
    for current_tag in assigned_tags:
        if (current_tag.name == tag_name):
            return current_tag.sly_id
    return None