def in6_isaddrllallservers(str):
 return (inet_pton(socket.AF_INET6, 'ff02::2') == inet_pton(socket.AF_INET6, str))

def in6_isaddrllallservers ( str ) : return ( inet_pton ( socket . AF_INET6 , 'ff02::2' ) == inet_pton ( socket . AF_INET6 , str ) )
returns true if address is the link-local all-servers multicast address .