source/Application/Model/Article.php
public function isVariant(): bool
    {
        $isVariant = false;
        if (isset($this->oxarticles__oxparentid) && false !== $this->oxarticles__oxparentid) {
            $isVariant = (bool) $this->oxarticles__oxparentid->value;
        }

        return $isVariant;
    }
public function isVariant(): bool
    {
        $isVariant = false;
        if (isset($this->oxarticles__oxparentid) && false !== $this->oxarticles__oxparentid) {
            $isVariant = (bool) $this->oxarticles__oxparentid->value;
        }

        return $isVariant;
    }
public function isVariant ( ) : bool { $ isVariant = false ; if ( isset ( $ this -> oxarticles__oxparentid ) && false !== $ this -> oxarticles__oxparentid ) { $ isVariant = ( bool ) $ this -> oxarticles__oxparentid -> value ; } return $ isVariant ; }
Returns TRUE if product is variant, and false if not

@return bool
Returns TRUE if product is variant and false if not