Implemented the is_flat/1 and assert_is_flat/1 functions in the teal_lists module.