boolean (@NotNull PyReferenceExpression referenceExpression) { final PyResolveContext resolveContext = PyResolveContext.defaultContext(myTypeEvalContext); return ContainerUtil.exists(referenceExpression.getReference(resolveContext).multiResolve(false), result -> result.getElement() instanceof PsiFileSystemItem); }