* @param value
   * @return boolean
   */
  public static boolean searchConsTreeP(Stella_Object tree, Stella_Object value) {
    if (Stella_Object.safePrimaryType(tree) == Stella.SGT_STELLA_CONS) {
      { Cons tree000 = ((Cons)(tree));

        if (tree000 == Stella.NIL) {
          return (value == Stella.NIL);
        }
        else {
          return (Stella_Object.searchConsTreeP(tree000.value, value) ||
              Stella_Object.searchConsTreeP(tree000.rest, value));
        }
      }
    }
    else {
      return (Stella_Object.eqlP(tree, value));
    }
  }