

@classmethod
def is_enabled(cls, config):
    return (config.get(cls.CONFIG_KEY) or ((cls.CONFIG_KEY not in config) and cls.ENABLED_DEFAULT))

dataset/ETHPy150Open jmcarp/nplusone/nplusone/core/notifiers.py Notifier.is_enabled/original