def validate(config):
    if not isinstance(config, dict):
        return False, ('Configuration for rest_example beacon must be a dictionary.')
    return True, 'Valid beacon configuration'
Validate the beacon configuration
dataset/ETHPy150Open saltstack/salt/salt/beacons/proxy_example.py/validate