@classmethod
def _has_callbacks(cls):
    """Determines if this service definition has callback methods or not."""
    for method in cls.public_methods.values():
        if method.is_callback:
            return True
    return False
