Check values from a few headers and store those header name with values

FAC FAC2 FAC3 HAWB / HBL INV P/L POD CUS
× × × ×

I like to check which headers have a cross and store the headername in a dictionary variable type, for those headers that have a cross.

Now, i can only think of using nested IF to check each header value. Is there a faster way to do this?