<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_supported(cls, desc):
 """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` """

        for m in cls:
            if m.matches(desc):
                return True
        return False