boolean (@NotNull PyExpression parametersExpr, @NotNull TypeEvalContext context) { final var resolveContext = PyResolveContext.defaultContext(context); return PyUtil.multiResolveTopPriority(parametersExpr, resolveContext).stream().anyMatch(it -> { if (!(it instanceof PyTypedElement)) return false; final var type = context.getType((PyTypedElement)it); return isParamSpec(type); }); }