def contains_method(self, method):
        """Check if there is at least one handler for *method*.

        Arguments:
          method (str): HTTP method name, e.g. GET, POST, etc.

        Returns:
          ``True`` if there is at least one route defined for *method*,
          ``False`` otherwise
        """
        return method in itertools.chain(self._literal, self._wildcard,
                                         self._regex)
def contains_method(self, method):
        """Check if there is at least one handler for *method*.

        Arguments:
          method (str): HTTP method name, e.g. GET, POST, etc.

        Returns:
          ``True`` if there is at least one route defined for *method*,
          ``False`` otherwise
        """
        return method in itertools.chain(self._literal, self._wildcard,
                                         self._regex)
def contains_method ( self , method ) : return method in itertools . chain ( self . _literal , self . _wildcard , self . _regex )
Check if there is at least one handler for *method*.

        Arguments:
          method (str): HTTP method name, e.g. GET, POST, etc.

        Returns:
          ``True`` if there is at least one route defined for *method*,
          ``False`` otherwise
Check if there is at least one handler for * method * .