bool is_downstream(JSObject *obj) {
  return JS::GetReservedSlot(obj, Slots::IsDownstream).toBoolean();
}
bool is_downstream(JSObject *obj) {
  return JS::GetReservedSlot(obj, Slots::IsDownstream).toBoolean();
}