Is it possible to hide the slug for specific collections?

eg.

Collection 1 show slug Collection 2 hide slug