Render Condition based on Component List

I have a popup with a Table component in it where’s it’s Context is set. I’d like to conditionally render a global action when there are no rows in the table even though the model may have rows in it since the context wasn’t a match to any of the rows.