Air bag light stays on

My friend got a rejection sticker on his 2007 ford explorer because his “air bag” light stays on in his car when he is driving it. Can he use a OBD 2 code reader to find out what the problem might be? what could be the problem?