Can A Boolean Variable Be Put Into An If Statement In Java