add public isSet method