src/Entities/Products/ProductTag.php
public function isType($typeName)
    {
        if (is_null($this->getType())) {
            return false;
        }

        return strcasecmp($this->getType()->getName(), $typeName) === 0;
    }
public function isType($typeName)
    {
        if (is_null($this->getType())) {
            return false;
        }

        return strcasecmp($this->getType()->getName(), $typeName) === 0;
    }
@param string $typeName

@return bool