def in6_iseui64(x):
 eui64 = inet_pton(socket.AF_INET6, '::ff:fe00:0')
 x = in6_and(inet_pton(socket.AF_INET6, x), eui64)
 return (x == eui64)

def in6_iseui64 ( x ) : eui64 = inet_pton ( socket . AF_INET6 , '::ff:fe00:0' ) x = in6_and ( inet_pton ( socket . AF_INET6 , x ) , eui64 ) return ( x == eui64 )
return true if provided address has an interface identifier part created in modified eui-64 format .