from .net_ipv6_parse_ipv6 import ipv6_groups def is_ipv6(text: str) -> bool: """True exactly when parse_ipv6 would accept the text; never raises.""" return ipv6_groups(text) is not None