def __virtual__():
    '\n    Load this state if the reg module exists\n    '
    if ('reg.read_value' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.read_value')
    if ('reg.set_value' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.set_value')
    if ('reg.delete_value' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.delete_value')
    if ('reg.delete_key_recursive' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.delete_key_recursive')
    return 'reg'
Load this state if the reg module exists
def __virtual__():
    '\n    \n    '
    if ('reg.read_value' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.read_value')
    if ('reg.set_value' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.set_value')
    if ('reg.delete_value' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.delete_value')
    if ('reg.delete_key_recursive' not in __utils__):
        return (False, 'reg state module failed to load: missing module function: reg.delete_key_recursive')
    return 'reg'