Having issues with has_component data type

I was hoping to use has_component to render different item models based on what enchantments are present, but I can't seem to get it to check for nested components.

Continue to help post