def HasMoreSpecificPatternThan(self, other_handler):

    if self.is_literal != other_handler.is_literal:
      return self.is_literal

    return len(self.pattern) > len(other_handler.pattern)
Returns True if self is more specific than other_handler.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/handler.py/Handler.HasMoreSpecificPatternThan