public function setIsImportant($isImportant)
    {
        if (is_bool($isImportant)) {
            $this->isImportant = $isImportant;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($isImportant). "' for argument 'isImportant' given."
            );
        }
    }