boolean (PsiExpression operand) { operand = PsiUtil.skipParenthesizedExprDown(operand); if (operand instanceof PsiMethodCallExpression methodCallExpression) { return methodMatcher.matches(methodCallExpression); } return ExpressionUtils.getArrayFromLengthExpression(operand) != null; }