(self)
return (not (self.network_address in IPv4Network('100.64.0.0/10') and
                self.broadcast_address in IPv4Network('100.64.0.0/10')) and
                not self.is_private)
Test if this address is allocated for public networks.

        Returns:
            A boolean, True if the address is not reserved per
            iana-ipv4-special-registry.
Test if this address is allocated for public networks.
Test if this address is allocated for public networks .
def is_global(self):
        """Test if this address is allocated for public networks.

        Returns:
            A boolean, True if the address is not reserved per
            iana-ipv4-special-registry.

        """
        return (not (self.network_address in IPv4Network('100.64.0.0/10') and
                self.broadcast_address in IPv4Network('100.64.0.0/10')) and
                not self.is_private)
def is_global ( self ) : return ( not ( self . network_address in IPv4Network ( '100.64.0.0/10' ) and self . broadcast_address in IPv4Network ( '100.64.0.0/10' ) ) and not self . is_private )