public static OperationQuota.OperationType getQuotaOperationType(ClientProtos.Action action,
    boolean hasCondition) {
    if (action.hasMutation()) {
      return getQuotaOperationType(action.getMutation(), hasCondition);
    }
    return OperationQuota.OperationType.GET;
  }
Returns true if the support for quota is enabled
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaUtil.java