boolean (@Nullable PyType expected, @Nullable PyType actual, @NotNull TypeEvalContext context, @NotNull Map<PyGenericType, PyType> typeVars) { var substitutions = new GenericSubstitutions(typeVars, new HashMap<>(), new HashMap<>(), null); return match(expected, actual, new MatchContext(context, substitutions, false)).orElse(true); }