public function dataAvailable($timeout = 0)
    {
        $readFds = [$this->_input];
        $writeFds = null;
        $errorFds = null;
        $readyFds = stream_select($readFds, $writeFds, $errorFds, $timeout);

        return ($readyFds > 0);
    }