pub fn is_list(arr: &mut Array) -> bool
Tests whether the input in a simple list array
let x = [1, 2, 3, 4]; assert_eq(is_list(x), true);
let x = [[[1, 2], [3, 4]]]; assert_eq(is_list(x), false);