src/Valkyrja/HttpMessage/NativeStream.php
public function isReadable(): bool
    {
        // If there is no stream
        if (null === $this->stream) {
            // It's not readable
            return false;
        }

        // Get the stream's mode
        $mode = $this->getMetadata('mode');

        return false !== strpos($mode, 'r') || false !== strpos($mode, '+');
    }
public function isReadable(): bool
    {
        // If there is no stream
        if (null === $this->stream) {
            // It's not readable
            return false;
        }

        // Get the stream's mode
        $mode = $this->getMetadata('mode');

        return false !== strpos($mode, 'r') || false !== strpos($mode, '+');
    }
Returns whether or not the stream is readable.

@return bool