private static boolean addCompletionIfOperandIsTypedDict(@NotNull final PyExpression operand,
                                                           @NotNull final DictKeyCompletionResultSet dictCompletion) {
    final TypeEvalContext typeEvalContext = TypeEvalContext.codeCompletion(operand.getProject(), operand.getContainingFile());
    final PyType type = typeEvalContext.getType(operand);
    if (type instanceof PyTypedDictType dictType && !dictType.isInferred()) {
      for (String key : dictType.getFields().keySet()) {
        dictCompletion.addKey(key);
      }
      return true;
    }
    return false;
  }
private static boolean addCompletionIfOperandIsTypedDict(@NotNull final PyExpression operand,
                                                           @NotNull final DictKeyCompletionResultSet dictCompletion)