'Check connector.'

def validate_connector(self, connector):

    if (('FC' == self._protocol) and ('wwpns' not in connector)):
        LOG.error('The    connector    does    not    contain    the    required    information:    wwpns    is    missing')
        raise exception.InvalidConnectorException(missing='wwpns')
