Added 'inSet' validation method