checking in boolean search