def _is_version_disabled(target, version_num):
    """Returns true if the target should be disabled for this android version.

    This is true if target["tags"] exists and contains a string android_min_version:xx"
    with xx > version_num."""

    if "tags" not in target:
        return False
    TAG_TO_STRIP = "android_min_version:"
    min_versions = [t[len(TAG_TO_STRIP):] for t in target["tags"] if t.startswith(TAG_TO_STRIP)]
    return any([int(v) > version_num for v in min_versions])