def is_registered(self, cuuid, host):
        """This function will check to see if a given host with client uuid is
        currently registered.

        Args:
          cuuid (string): The client uuid that wishes to register.
          host (tuple): The (address, port) tuple of the client that is
            registering.

        Returns:
          Will return True if the client is registered and will return False if
          it is not.

        """
        # Check to see if the host with the client uuid exists in the registry
        # table.
        if (cuuid in self.registry) and (self.registry[cuuid]["host"] == host):
            return True
        else:
            return False
def is_registered ( self , cuuid , host ) : if ( cuuid in self . registry ) and ( self . registry [ cuuid ] [ "host" ] == host ) : return True else : return False
This function will check to see if a given host with client uuid is
        currently registered.

        Args:
          cuuid (string): The client uuid that wishes to register.
          host (tuple): The (address, port) tuple of the client that is
            registering.

        Returns:
          Will return True if the client is registered and will return False if
          it is not.