def __virtual__():
    if __grains__['kernel'] != 'Linux':
        return (False, 'The mdadm execution module cannot be loaded: only available on Linux.')
    if not salt.utils.which('mdadm'):
        return (False, 'The mdadm execution module cannot be loaded: the mdadm binary is not in the path.')
    return __virtualname__
Parsed boolean field values should be of type C{unicode}.
dataset/ETHPy150Open saltstack/salt/salt/modules/mdadm.py/__virtual__--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_fromElementValueBoolean