add isSet method