source/Core/Session.php
protected function isClassInSerializedObject($serializedObject, $className)
    {
        $quotedClassName = sprintf('"%s"', $className);

        return strpos($serializedObject, $quotedClassName) !== false;
    }
protected function isClassInSerializedObject($serializedObject, $className)
    {
        $quotedClassName = sprintf('"%s"', $className);

        return strpos($serializedObject, $quotedClassName) !== false;
    }
protected function isClassInSerializedObject ( $ serializedObject , $ className ) { $ quotedClassName = sprintf ( '"%s"' , $ className ) ; return strpos ( $ serializedObject , $ quotedClassName ) !== false ; }
True if given class is found within serialized object.

@param string $serializedObject
@param string $className

@return bool
True if given class is found within serialized object .