protected function permBoolean(array $postValue = [], array $keys = []) : array
{
if (empty($postValue)) {
return [];
}
$ret = [];
foreach ($postValue as $idx => $sub) {
foreach ($keys as $k) {
$ret[$idx][$k] = !empty($sub[$k]);
}
}
return $ret;
}