src/Util/ClassUtil.php
public static function isSerialized(string $string): bool {
        $data = @unserialize($string);
        if (false === $data) {
            return false;
        } else {
            return true;
        }
    }
public static function isSerialized(string $string): bool {
        $data = @unserialize($string);
        if (false === $data) {
            return false;
        } else {
            return true;
        }
    }
public static function isSerialized ( string $ string ) : bool { $ data = @ unserialize ( $ string ) ; if ( false === $ data ) { return false ; } else { return true ; } }
whether the string is an serialized object or not

@param string $string
@return bool
whether the string is an serialized object or not