add getter for hasMaster for debug purposes