def is_enabled(name):

    current_schedule = __salt__['schedule.list'](show_all=False, return_yaml=False)
    if name in current_schedule:
        return current_schedule[name]
    else:
        return {}
List a Job only if its enabled
dataset/ETHPy150Open saltstack/salt/salt/modules/schedule.py/is_enabled