(x)
return x[:2] == ' \x02'
Return True if provided address (in printable format) is a 6to4
    address (being in 2002::/16).
Return True if provided address (in printable format) is a 6to4
    address (being in 2002::/16).
Return True if provided address ( in printable format ) is a 6to4 address ( being in 2002 :: / 16 ) .
def in6_isaddr6to4(x):
    """
    Return True if provided address (in printable format) is a 6to4
    address (being in 2002::/16).
    """
    x = inet_pton(socket.AF_INET6, x)
    return x[:2] == ' \x02'
def in6_isaddr6to4 ( x ) : x = inet_pton ( socket . AF_INET6 , x ) return x [ : 2 ] == ' \x02'