How to check if selected tab is remote?

How to check if selected tab is remote?

Hi All,
Am tinkering with tabs, and I want to know how I can check to see if
the currently selected tab is a "remote" tab or not.
For example, I have code like this:
var $tabs = $('.ui-tabs').tabs();
var selected = $tabs.tabs('option', 'selected');
$tabs.tabs('load', selected);
But not all my tabs are remote tabs... some have static content and
thus "load" is meangingless. Instead I need to reload the current
window for "static" tabs, but use "load" for ajax tabs.
So, my question is: how do I check if the selected tab is remote or
not?
// SM
--