(self)
return self._ip == 1
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._ip == 1
def is_loopback ( self ) : return self . _ip == 1