Is wearing airpods/headphones actually permitted?

I see a lot of team members wearing them on the shop floor, is it actually allowed or is it just a minor infraction that management don't worry about unless it impacts performance? Doesn't really worry me either way, just curious?