code: function(instanceId) {
  			return (
  				// we have an app
  				_apps[instanceId] !== undefined &&
  				// the app is secure
  				_apps[instanceId].config.isSecure &&
  				// we can't access the iframe
  				jQuery(_apps[instanceId].config.root).find('iframe').length === 0
  			);
  		}
docs: Determines whether the Instance ID is considered to be 'remote'. This is
  determined by checking if 1) the app has an open socket and 2) whether
  F2.Rpc is running inside of an iframe
  @method isRemote
  @param {string} instanceId The Instance ID
  @return {bool} True if there is an open socket