Paste this at the bottom of your code / in another file and exec it to use .isHost:
package isHost
{
function GameConnection::autoAdminCheck(%this)
{
%this.isHost = (%this.isLocalConnection() || %this.bl_id == getNumKeyID());
return Parent::autoAdminCheck(%this);
}
};
activatePackage(isHost);