use isMaster instead of isUnderControl
detailed README