private bool doesIdenticalObjectExist(gamedataObject obj, gamedata rhsData) { gamedataObject otherObject = rhsData.getItemByID(obj.uuid); if (otherObject == null) { return(false); } if (!obj.Equals(otherObject)) { return(false); } return(true); }