def _determine_scheduled_actions(scheduled_actions, scheduled_actions_from_pillar):
 tmp = copy.deepcopy(__salt__['config.option'](scheduled_actions_from_pillar, {}))
 if scheduled_actions:
  tmp = dictupdate.update(tmp, scheduled_actions)
 return tmp

def _determine_scheduled_actions ( scheduled_actions , scheduled_actions_from_pillar ) : tmp = copy . deepcopy ( __salt__ [ 'config.option' ] ( scheduled_actions_from_pillar , { } ) ) if scheduled_actions : tmp = dictupdate . update ( tmp , scheduled_actions ) return tmp
helper method for present .