<?php
require_once 'districts.php';

$districts = get_districts();

echo "<pre>";
print_r($districts);
echo "</pre>";

if (is_array($districts) && !empty($districts)) {
    $first_key = array_key_first($districts);
    if (is_array($districts[$first_key])) {
        echo "Structure IS valid: [DistrictName => [DS List]]";
    } else {
        echo "Structure is INVALID";
    }
} else {
    echo "Districts array is empty or invalid.";
}
?>
