code: def bind_handler(self, svc_ref):
          
          if svc_ref in self._bound_references:
              # Already bound service
              return False
  
          # Get the service
          handler = self._context.get_service(svc_ref)
  
          # Get its name space
          namespace = handler.get_namespace()
          commands = []
  
          # Register all service methods directly
          for command, method in handler.get_methods():
              self.register_command(namespace, command, method)
              commands.append(command)
  
          # Store the reference
          self._bound_references[svc_ref] = handler
          self._reference_commands[svc_ref] = (namespace, commands)
          return True
docs: Called if a command service has been found.
          Registers the methods of this service.
  
          :param svc_ref: A reference to the found service
          :return: True if the commands have been registered