Exit Table Row to Variable Loop if Table is Empty

Is there an easy way to exit out of a Table Row to Variable Loop if there are no values in my table?

I’ve tried bypassing with a Table Row to Variable > Java Edit Variable > IF Switch, but I can’t seem to get the java to recognize the “missing” variable (I’m new at Java too).

Any help would be appreciated.