If you look at entries for hair in the customization_items.xtbl you will see something like the below. If the hair isn't compatible with hats, too large, too tall or the like, it will have a wear option "Incompatible" that is flagged when a player is wearing a hat, "hat active". A separate wear...