def METHOD_NAME(key: kdb.Key):
    # we only check if Meta META_DNS_NAME is set
    if m := key.getMeta(META_DNS_NAME):
        if key.value != '':
            try:
                return get_ipv4_by_hostname(key.value)
            except Exception as e:
                return False
    return True