boolean (@Nullable PsiExpression expression, @NotNull String withText) { expression = PsiUtil.skipParenthesizedExprDown(expression); return expression instanceof PsiLiteral && expression.textMatches(withText); }