docs: @Override
      public boolean requestPermissionToWrite() {
          boolean rc = false;
          synchronized (this) {
              if ((currentState & WRITE_NOT_ALLOWED_MASK) == 0) {
                  currentState = (currentState | WRITE_PENDING) & WRITE_PENDING_CLEAR_OUT;
                  rc = true;
              }
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "requestPermissionToWrite returning " + rc);
          }
          return rc;
      }