(self)
return (self.network_address.is_loopback and
                self.broadcast_address.is_loopback)
Test if the address is a loopback address.

        Returns:
            A boolean, True if the address is a loopback address as defined in
            RFC 2373 2.5.3.
Test if the address is a loopback address.
Test if the address is a loopback address .
def is_loopback(self):
        """Test if the address is a loopback address.

        Returns:
            A boolean, True if the address is a loopback address as defined in
            RFC 2373 2.5.3.

        """
        return (self.network_address.is_loopback and
                self.broadcast_address.is_loopback)
def is_loopback ( self ) : return ( self . network_address . is_loopback and self . broadcast_address . is_loopback )