Empty Registry Keys that have no value

I suspect that some software programers use Registry Keys as flags without assigning values to them. Will the registry interfaces allow this? If so, is there a way to detect them?

-- Ken Bloom