### Question:
ExpressionUtils { public static boolean isBooleanLiteral(Tree tree) { return tree instanceof LiteralTree && BOOLEAN_LITERALS.contains(((LiteralTree) tree).value()); } private  ExpressionUtils(); static boolean isBooleanLiteral(Tree tree); static boolean isFalseValueLiteral(Tree originalTree); static boolean isTrueValueLiteral(Tree originalTree); static boolean isNegation(Tree tree); static boolean isBinaryOperation(Tree tree, BinaryExpressionTree.Operator operator); static boolean isLogicalBinaryExpression(Tree tree); static Tree skipParentheses(Tree tree); static boolean containsPlaceHolder(Tree tree); static boolean isTernaryOperator(Deque<Tree> ancestors, Tree tree); static Optional<String> getMemberSelectOrIdentifierName(Tree tree);  }### Answer:
@Test public void test_boolean_literal() { assertThat(isBooleanLiteral(TRUE_LITERAL)).isTrue(); assertThat(isBooleanLiteral(FALSE_LITERAL)).isTrue(); assertThat(isBooleanLiteral(NUMBER_LITERAL)).isFalse(); assertThat(isBooleanLiteral(TRUE_NEGATED)).isFalse(); }