def supports_protocol(obj, protocol):
    manager = get_global_adaptation_manager()
    return manager.supports_protocol(obj, protocol)
Does the object support a given protocol?
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_manager.py/supports_protocol