'Check connector for enabled protocol.'

def validate_connector(self, connector):

    valid = False
    if (('iSCSI' == self._protocol) and ('initiator' in connector)):
        valid = True
    if (not valid):
        LOG.error('The    connector    does    not    contain    the    required    information:    initiator    is    missing')
        raise exception.InvalidConnectorException(missing='initiator')
