'Check if volume is part of a SnapVx sync process.
:param array: the array serial number
:param device_id: volume instance
:param volume_name: volume name
:param tgt_only: Flag - return only sessions where device is target
:param extra_specs: extra specifications'

def _sync_check(self, array, device_id, volume_name, extra_specs, tgt_only=False):

    get_sessions = False
    (snapvx_tgt, snapvx_src, __) = self.rest.is_vol_in_rep_session(array, device_id)
    if snapvx_tgt:
        get_sessions = True
    elif (snapvx_src and (not tgt_only)):
        get_sessions = True
    if get_sessions:
        snap_vx_sessions = self.rest.find_snap_vx_sessions(array, device_id, tgt_only)
        if snap_vx_sessions:
            for session in snap_vx_sessions:
                source = session['source_vol']
                snap_name = session['snap_name']
                targets = session['target_vol_list']
                for target in targets:
                    LOG.debug('Unlinking    source    from    target.    Source:    %(volume)s,    Target:    %(target)s.', {'volume': volume_name, 'target': target})
                    self.provision.break_replication_relationship(array, target, source, snap_name, extra_specs)
                if ('temp' or ('EMC_SMI' in snap_name)):
                    self.provision.delete_temp_volume_snap(array, snap_name, source)
