def METHOD_NAME(class_or_name: Union[str, Type], method_name: str):
    for classname in _get_all_bases(class_or_name):
        if (classname, method_name) in Replacements._method_rep:
            return Replacements._method_rep[(classname, method_name)]
    return None