function is_multi($array) {
$filter = array_filter($array, 'is_array');
print_r($filter);
if(count($filter) > 0) {
return true;
}
return false;
}
var_dump(is_multi([
"Valeri"=> [
"weight"=>77,
],
"Giorgi"=> [
"weight"=>87,
"parents"=> [
"father"=>"Daviti",
"mother"=>"Mariami",
]
],
]));