

def is_enabled(name):
    "\n    List a Job only if its enabled\n\n    .. versionadded:: 2015.5.3\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' schedule.is_enabled name=job_name\n    "
    current_schedule = __salt__['schedule.list'](show_all=False, return_yaml=False)
    if (name in current_schedule):
        return current_schedule[name]
    else:
        return {
            
        }

dataset/ETHPy150Open saltstack/salt/salt/modules/schedule.py is_enabled/original