code: def get_method(self, name):
          
          if name in self.method_map:
              return self.method_map[name]
  
          for prefix, subdispatchers in self.subdispatchers.items():
              if name.startswith(prefix):
                  for sd in subdispatchers:
                      try:
                          return sd.get_method(name[len(prefix):])
                      except exc.MethodNotFoundError:
                          pass
  
          raise exc.MethodNotFoundError(name)
docs: Retrieve a previously registered method.
  
          Checks if a method matching ``name`` has been registered.
  
          If :py:func:`get_method` cannot find a method, every subdispatcher
          with a prefix matching the method name is checked as well.
  
          :param str name: Function to find.
          :returns: The callable implementing the function.
          :rtype: callable
          :raises: :py:exc:`~tinyrpc.exc.MethodNotFoundError`