code: def is_supported(cls, desc):
          
          for m in cls:
              if m.matches(desc):
                  return True
          return False
docs: Determines if the given metric descriptor is supported.
  
          Args:
             desc (:class:`endpoints_management.gen.servicecontrol_v1_messages.MetricDescriptor`): the
               metric descriptor to test
  
          Return:
             `True` if desc is supported, otherwise `False`