Attempt 1 at boolean test. Had to revert