def __virtual__():
    return 'pagerduty_user' if 'pagerduty_util.get_resource' in __salt__ else False
Only load if the pygerduty module is available in __salt__
dataset/ETHPy150Open saltstack/salt/salt/states/pagerduty_user.py/__virtual__