public function isEnable() { if ($this->getProductClass() && $this->getProductClass()->isEnable()) { return true; } else { return false; } }