Does word "light" have the same meaning in the following two sentences?

Do you have a light?

Hey, buddy, you got a light?
the same meaning