Measure the compartment you use
Measure the empty space with your usual belongings packed. Suppose the slot is 16 cm wide and 4 cm deep. A rigid brim 18 cm wide will need a diagonal opening or another compartment. Also check whether the crown adds thickness when it flattens.
Ask how the brim is meant to flex
Check whether the seller describes the brim as foldable, bendable or fixed. Ask to see it folded or rolled only the way the maker intends, then released. Note whether it returns to its original curve and whether a central hinge or a fold seam is visible.
Rehearse the packing sequence
Cut a paper outline of the brim to see where its edges would rub. Try a similarly shaped cap you own in the compartment and see whether the zipper clears it. If the compartment is tight, prioritize a cap that packs in the specified shape without pressure from heavier items.