How do you find out if a MUX is bidirectional
Digital mulltiplexers are almost certainly uni-directional.  Analog multiplexers probably are bidirectional.

However, studying the datasheets should tell you for sure.

The 74xx157 is clearly a uni-directional digital multiplexer, as shown by the logic diagram in the datasheet.