@classmethod
def _get_overridden_method(cls, method):
    """Return None if the method is not overridden. Otherwise returns the overridden method."""
    return getattr(method.__func__, '__cog_special_method__', method)
