Test whether an array is simple (non-KeyValue)
public static function isSimpleArray(array $value) : bool { return $value === [] || array_key_first($value) === 0; }