Adding method isSet.