Engine compartment light

Does it come with the socket and wires? The pic looks like an average bulb