public static boolean isTypeGuard(@NotNull PyFunction function, @NotNull TypeEvalContext context) {
    return PyUtil.getParameterizedCachedValue(function, context, p ->
      typeHintedWithName(function, context, TYPE_GUARD, TYPE_GUARD_EXT));
  }
public static boolean isTypeGuard(@NotNull PyFunction function, @NotNull TypeEvalContext context)