def extension_validator(klass, obj):
    members = [
        '_setup',
        'load_extension',
        'load_extensions',
        'get_loaded_extensions',
    ]
    interface.validate(IExtension, obj, members)
Validates an handler implementation against the IExtension interface.
dataset/ETHPy150Open datafolklabs/cement/cement/core/extension.py/extension_validator