no need for `? true : false`, `return true === $this->isDeprecated` is enough