Added function to generate isSet... names