src/Extensions/BetterButtonDataObject.php
public function checkVersioned()
    {
        $isVersioned = false;

        foreach ($this->owner->getExtensionInstances() as $extension) {
            if ($extension instanceof Versioned) {
                $isVersioned = true;
                break;
            }
        }

        return $isVersioned
            && $this->owner->config()->better_buttons_versioned_enabled
            && count($this->owner->getVersionedStages()) > 1;
    }
public function checkVersioned()
    {
        $isVersioned = false;

        foreach ($this->owner->getExtensionInstances() as $extension) {
            if ($extension instanceof Versioned) {
                $isVersioned = true;
                break;
            }
        }

        return $isVersioned
            && $this->owner->config()->better_buttons_versioned_enabled
            && count($this->owner->getVersionedStages()) > 1;
    }
Determines if the record is using the {@link Versioned} extension
@return boolean