An Efficient Way to "Assign Type" To Objects

Oh, so it was possible to convert
enums into booleans.

Not really, they’re just comparisons. Contains checks if a searched element is present in the array and returns True / False. It has nothing to do with enums, it just works with arrays of anything.

[…]but how did it get
told which was better than the other?

Each actor has an array with the types it’s better than - you populate it yourself so it’s fully customisable. You can see it in the bottom left of the image I attached.