Was Pauline Hanson actually allowed to wear that burqa in Parliament?

Can you bring hats into Parliament? Props? Stunt outfits, like Pauline Hanson’s burqa?