Can a widget access an item's metadata?

It would be helpful to have a widget that is able to access some of the item’s metadata to make decisions about displaying icons, etc. Is this possible and if so does anyone have an example?

I have a HABApp python script that runs periodically that sets a list sort order metadata value based on some variables, and it would be helpful to base some UI-rendering decisions on the sort order value (and perhaps other metadata).

If it is possible and an example is out there, I apologize as I couldn’t find the right keywords.

Metadata is only available within oh-repeater component