message: Remove extra Ref in resource handles when using IsResourceInitialized.
diff: @@ -492,9 +492,16 @@ template <typename T>
  void IsResourceInitialized<T>::Compute(OpKernelContext* ctx) {
  Tensor* output;
  OP_REQUIRES_OK(ctx, ctx->allocate_output(0, {}, &output));
  - T* unused;
  - output->flat<bool>()(0) =
  - LookupResource(ctx, HandleFromInput(ctx, 0), &unused).ok();
  + T* object;
  + bool found;
  + if (LookupResource(ctx, HandleFromInput(ctx, 0), &object).ok()) {
  + found = true;
  + object->Unref();
  + } else {
  + found = false;
  + }
  +
  + output->flat<bool>()(0) = found;
  }
  template <typename T>
  