def __virtual__():
    if salt.utils.is_windows():
        return (False, 'The netscaler execution module failed to load: not available on Windows.')
    if HAS_NSNITRO:
        return 'netscaler'
    return (False, 'The netscaler execution module failed to load: the nsnitro python library is not available.')
documentation
dataset/ETHPy150Open saltstack/salt/salt/modules/netscaler.py/__virtual__--crossover with--dataset/ETHPy150Open GrahamDumpleton/wrapt/tests/test_outer_staticmethod.py/Class.function