code: def _create_remote_dict_method(dict_method_name: str):
      
  
      def remote_method(self, *args, **kwargs):
          return self._s_request_reply(
              {
                  Msgs.cmd: Cmds.run_dict_method,
                  Msgs.info: dict_method_name,
                  Msgs.args: args,
                  Msgs.kwargs: kwargs,
              }
          )
  
      remote_method.__name__ = dict_method_name
      return remote_method
docs: Generates a method for the State class,
      that will call the "method_name" on the state (a ``dict``) stored on the server,
      and return the result.
  
      Glorified RPC.