src/Image/AbstractDecoder.php
public function isStream()
    {
        if ($this->data instanceof StreamInterface) {
            return true;
        }

        if (!is_resource($this->data)) {
            return false;
        }

        if (get_resource_type($this->data) !== 'stream') {
            return false;
        }

        return true;
    }
public function isStream()
    {
        if ($this->data instanceof StreamInterface) {
            return true;
        }

        if (!is_resource($this->data)) {
            return false;
        }

        if (get_resource_type($this->data) !== 'stream') {
            return false;
        }

        return true;
    }
public function isStream ( ) { if ( $ this -> data instanceof StreamInterface ) { return true ; } if ( ! is_resource ( $ this -> data ) ) { return false ; } if ( get_resource_type ( $ this -> data ) !== 'stream' ) { return false ; } return true ; }
Determines if current source data is a stream resource

@return bool
Determines if current source data is a stream resource