boolean (@NotNull PyCallExpression receiver, @NotNull PyResolveContext resolveContext, @NotNull TypeEvalContext typeEvalContext) { return StreamEx .of((receiver).multiResolveCalleeFunction(resolveContext)) .select(PyFunction.class) .anyMatch(function -> hasGeneratorBasedCoroutineDecorator(function, typeEvalContext)); }