public function changeState($id, $newState = 0)
    {
        if (!$object = $this->find($id)) {
            return false;
        }
        $object->setIsActive($newState);
        $this->save($object);

        return true;
    }