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