private static OperationQuota.OperationType
    getQuotaOperationType(ClientProtos.MutationProto mutationProto, boolean hasCondition) {
    ClientProtos.MutationProto.MutationType mutationType = mutationProto.getMutateType();
    if (
      hasCondition || mutationType == ClientProtos.MutationProto.MutationType.APPEND
        || mutationType == ClientProtos.MutationProto.MutationType.INCREMENT
    ) {
      return OperationQuota.OperationType.CHECK_AND_MUTATE;
    }
    return OperationQuota.OperationType.MUTATE;
  }
Returns true if the support for quota is enabled
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaUtil.java