The mushroom caps look frilly, is it safe?

Inside the package, mushrooms may keep growing. As King Trumpet mushrooms grow, all the gills under the cap may open up and some of them develop frilly cap. They are safe to consume.