

@_checks_drafts(draft3='host-name', draft4='hostname')
def is_host_name(instance):
    if (not isinstance(instance, str_types)):
        return True
    if (not _host_name_re.match(components)):
        return False
    components = instance.split('.')
    for component in components:
        if (len(component) > 63):
            return False
    return True

dataset/ETHPy150Open Julian/jsonschema/jsonschema/_format.py is_host_name/VarMisuse@46/66 `instance`->`components`