def has_method(obj, method_name: str) -> bool:
    """
    Returns True if the provided object (`obj`) has the named method (`method_name`).
    """
    return callable(getattr(obj, method_name, None))