public static boolean cppArgumentIsStreamP(Stella_Object arg) {
    if (Stella_Object.safePrimaryType(arg) == Stella.SGT_STELLA_CONS) {
      { Cons arg000 = ((Cons)(arg));

        return ((arg000.value == Stella.SYM_STELLA_CPP_IDENT) &&
            Stella_Object.eqlToStringP(arg000.rest.value, "stream"));
      }
    }
    else {
      return (false);
    }
  }