private static boolean hasMapUsages(@NotNull MapLoopCondition condition, @Nullable PsiExpression value) {
        return !VariableAccessUtils.getVariableReferences(condition.getMap(), value).stream()
          .map(ExpressionUtils::getCallForQualifier)
          .allMatch(call -> call != null && condition.isValueAccess(call));
      }
private static boolean hasMapUsages(@NotNull MapLoopCondition condition, @Nullable PsiExpression value)