isRemote might help.