change isConst() in sets