check isMaster