public function isSerialized()
    {
        if ($this->getLength() === 0) return false;

        /** @noinspection PhpUsageOfSilenceOperatorInspection */
        return
        (
            $this->scalarString === 'b:0;' ||
            @unserialize($this->scalarString) !== false
        );
    }
public function isSerialized()
    {
        if ($this->getLength() === 0) return false;

        /** @noinspection PhpUsageOfSilenceOperatorInspection */
        return
        (
            $this->scalarString === 'b:0;' ||
            @unserialize($this->scalarString) !== false
        );
    }
public function isSerialized ( ) { if ( $ this -> getLength ( ) === 0 ) return false ; /** @noinspection PhpUsageOfSilenceOperatorInspection */ return ( $ this -> scalarString === 'b:0;' || @ unserialize ( $ this -> scalarString ) !== false ) ; }
Returns true if the string is serialized, false otherwise.

@return bool Whether or not $str is serialized
Returns true if the string is serialized false otherwise .