def METHOD_NAME(self, service_type):
    """
    Checks whether this provider supports a given service.
    :type service_type: str or :class:``.CloudServiceType``
    :param service_type: Type of service to check support for.
    :rtype: bool
    :return: ``True`` if the service type is supported.
    """
    log.info("Checking if provider supports %s", service_type)
    try:
        if self._deepgetattr(self, service_type):
            log.info("This provider supports %s",
                     service_type)
            return True
    except AttributeError:
        pass  # Undefined service type
    except NotImplementedError:
        pass  # service not implemented
    log.info("This provider doesn't support %s",
             service_type)
    return False