public function userIsOwner(int $authorId, int $userId = 0) : bool
{
if ($userId < 1) {
$userId = $this->getActiveUserId();
}
return (bool) $this->db->cell('SELECT in_charge FROM view_hull_users_authors WHERE authorid = ? AND userid = ?', $authorId, $userId);
}