boolean (@Nullable PsiElement element, @NotNull PyParameter keywordContainer) { if (element instanceof PyCallExpression) { final PyExpression callee = ((PyCallExpression)element).getCallee(); if (callee instanceof PyQualifiedExpression qualifiedCallee) { final PyExpression qualifier = qualifiedCallee.getQualifier(); if (qualifier instanceof PyReferenceExpression) { return ((PyReferenceExpression)qualifier).getReference().isReferenceTo(keywordContainer) && ArrayUtil.contains(qualifiedCallee.getReferencedName(), "get", "pop", PyNames.GETITEM); } } } return false; }