helper method for present.  ensure that notification_configs are set

def _determine_notification_info(notification_arn,
                                 notification_arn_from_pillar,
                                 notification_types,
                                 notification_types_from_pillar):
    '''
    helper method for present.  ensure that notification_configs are set
    '''
    pillar_arn_list = copy.deepcopy(
        __salt__['config.option'](notification_arn_from_pillar, {})
    )
    pillar_arn = None
    if pillar_arn_list:
        pillar_arn = pillar_arn_list[0]
    pillar_notification_types = copy.deepcopy(
        __salt__['config.option'](notification_types_from_pillar, {})
    )
    arn = notification_arn if notification_arn else pillar_arn
    types = notification_types if notification_types else pillar_notification_types
    return (arn, types)