code: def FindMethodByName(self, name):
      
      for method in self.methods:
        if name == method.name:
          return method
      return None
docs: Searches for the specified method, and returns its descriptor.