simplified boolean expression for close parens