code: def _WsdlHasMethod(self, method_name):
      
      try:
        self._method_bindings.get(method_name)
        return True
      except ValueError:
        return False
docs: Determine if a method is in the wsdl.
  
      Args:
        method_name: The name of the method.
  
      Returns:
        True if the method is in the wsdl, otherwise False.