Added is_boolean_expression using ast parsing