def GetNetworkAddressWithTime(self):
        """
        Get a network address object.

        Returns:
            NetworkAddressWithTime: if we have a connection to a node.
            None: otherwise.
        """
        if self.port is not None and self.host is not None and self.Version is not None:
            return NetworkAddressWithTime(self.host, self.port, self.Version.Services)
        return None
def GetNetworkAddressWithTime ( self ) : if self . port is not None and self . host is not None and self . Version is not None : return NetworkAddressWithTime ( self . host , self . port , self . Version . Services ) return None
Get a network address object.

        Returns:
            NetworkAddressWithTime: if we have a connection to a node.
            None: otherwise.