`isValidSet` would be a better name, yes.