'Check that the initiator group contains the correct initiators.
If using an existing masking view check that the initiator group
contains the correct initiators.  If it does not contain the correct
initiators then we delete the initiator group from the masking view,
re-create it with the correct initiators and add it to the masking view
NOTE:  VMAX does not support ModifyMaskingView so we must first
delete the masking view and recreate it.
:param serial_number: the array serial number
:param maskingview_name: name of the masking view
:param maskingview_dict: the masking view dict
:param ig_from_mv: the initiator group name
:param storagegroup_name: the storage group
:param portgroup_name: the port group
:param extra_specs: extra specifications
:returns: bool, found_ig_from_connector'

def _verify_initiator_group_from_masking_view(self, serial_number, maskingview_name, maskingview_dict, ig_from_mv, storagegroup_name, portgroup_name, extra_specs):

    connector = maskingview_dict['connector']
    initiator_names = self.find_initiator_names(connector)
    found_ig_from_connector = self._find_initiator_group(serial_number, initiator_names)
    if (found_ig_from_connector != ig_from_mv):
        check_ig = self.rest.get_initiator_group(serial_number, initiator_group=ig_from_mv)
        if check_ig:
            if (found_ig_from_connector is None):
                if (maskingview_dict['init_group_name'] == ig_from_mv):
                    self.rest.delete_masking_view(serial_number, maskingview_name)
                    self.rest.delete_initiator_group(serial_number, ig_from_mv)
                    found_ig_from_connector = self._create_initiator_group(serial_number, ig_from_mv, initiator_names, extra_specs)
            if ((found_ig_from_connector is not None) and (storagegroup_name is not None) and (portgroup_name is not None)):
                try:
                    self.rest.delete_masking_view(serial_number, maskingview_name)
                except Exception:
                    pass
                error_message = self.create_masking_view(serial_number, maskingview_name, storagegroup_name, portgroup_name, maskingview_dict['init_group_name'], extra_specs)
                if (not error_message):
                    LOG.debug('The    old    masking    view    has    been    replaced:    %(maskingview_name)s.', {'maskingview_name': maskingview_name})
            else:
                LOG.error('One    of    the    components    of    the    original    masking    view    %(maskingview_name)s    cannot    be    retrieved    so    please    contact    your    system    administrator    to    check    that    the    correct    initiator(s)    are    part    of    masking.', {'maskingview_name': maskingview_name})
                return False
    return (True, found_ig_from_connector)
