private MasterSwitchType convert(MasterProtos.MasterSwitchType switchType) {
    switch (switchType) {
      case SPLIT:
        return MasterSwitchType.SPLIT;
      case MERGE:
        return MasterSwitchType.MERGE;
      default:
        break;
    }
    return null;
  }
Determines if there is a coprocessor implementation in the provided argument which extends or
implements the provided {@code service}.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java