public function hasChildren() { $c = $this->db->fetchOne("SELECT id FROM users WHERE parentId = ?", $this->model->getId()); return (bool) $c; }