public function setIsMain($isMain)
    {
        $isMain = (bool) $isMain;

        if ($this->exists() && $this->isMain !== $isMain) {
            $this->updated['isMain'] = true;
        }

        $this->isMain = $isMain;

        return $this;
    }