private function isSerializedFile($object)
    {
        $isFile = false;
        $type = substr($object, 0, strpos($object, ':'));
        if (in_array($type, ['file', 'dir'])) {
            $isFile = true;
        }

        return $isFile;
    }
private function isSerializedFile($object)
    {
        $isFile = false;
        $type = substr($object, 0, strpos($object, ':'));
        if (in_array($type, ['file', 'dir'])) {
            $isFile = true;
        }

        return $isFile;
    }
private function isSerializedFile ( $ object ) { $ isFile = false ; $ type = substr ( $ object , 0 , strpos ( $ object , ':' ) ) ; if ( in_array ( $ type , [ 'file' , 'dir' ] ) ) { $ isFile = true ; } return $ isFile ; }
Check if the given object is a serialized file reference

@param string $object
@return bool
@see \oat\generis\model\fileReference\UrlFileSerializer::unserialize
Check if the given object is a serialized file reference