src/ChangeSetItem.php
public function isVersioned()
    {
        if (!$this->ObjectClass || !class_exists($this->ObjectClass)) {
            return false;
        }
        /** @var Versioned|DataObject $singleton */
        $singleton = DataObject::singleton($this->ObjectClass);
        return $singleton->hasExtension(Versioned::class) && $singleton->hasStages();
    }
public function isVersioned()
    {
        if (!$this->ObjectClass || !class_exists($this->ObjectClass)) {
            return false;
        }
        /** @var Versioned|DataObject $singleton */
        $singleton = DataObject::singleton($this->ObjectClass);
        return $singleton->hasExtension(Versioned::class) && $singleton->hasStages();
    }
public function isVersioned ( ) { if ( ! $ this -> ObjectClass || ! class_exists ( $ this -> ObjectClass ) ) { return false ; } /** @var Versioned|DataObject $singleton */ $ singleton = DataObject :: singleton ( $ this -> ObjectClass ) ; return $ singleton -> hasExtension ( Versioned :: class ) && $ singleton -> hasStages ( ) ; }
Check if the object attached to this changesetitem is versionable

@return bool
Check if the object attached to this changesetitem is versionable