MySQL 5.7 supports one status variable providing
information about Group Replication. This variable is described
Shows the primary member's UUID when the group is operating in
single-primary mode. If the group is operating in
multi-primary mode, shows an empty string. See
Section 22.214.171.124, “Finding the Primary”.