$_SESSION['user']['id'], 'villageId' => $villageId])->fetchColumn(); return ! empty($hasVillage); } }