a boolean checker I built for the exercise