<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _determine_termination_policies(termination_policies, termination_policies_from_pillar):
    '''
    helper method for present.  ensure that termination_policies are set
    '''
    pillar_termination_policies = copy.deepcopy(
        __salt__['config.option'](termination_policies_from_pillar, [])
    )
    if not termination_policies and pillar_termination_policies:
        termination_policies = pillar_termination_policies
    return termination_policies