<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_connector(self, connector):
 """Validate a given connector. Raises ValueError if the connector is not valid. Parameters connector : dict Connection information """

        if not 'connector' in connector:
            raise ValueError('missing connector name')
        elif connector['connector'] != CONNECTOR_RABBITMQ:
            raise ValueError('unknown connector: ' + str(connector['connector']))
        # Call the connector specific validator. Will raise a ValueError if
        # given connector information is invalid
        RabbitMQConnector.validate(connector)