please use "is_array(foo)" instead