function isLocked (bodyReadable) {
  // Consume is an implicit lock.
  return bodyReadable[kBody]?.locked === true || bodyReadable[kConsume] !== null
}
@see https://streams.spec.whatwg.org/#readablestream-locked
@param {BodyReadable} bodyReadable
@returns {boolean}