private boolean isDisableSpaceViolationPolicy(final SpaceViolationPolicy currPolicy,
    final SpaceViolationPolicy targetPolicy) {
    return SpaceViolationPolicy.DISABLE == currPolicy
      || SpaceViolationPolicy.DISABLE == targetPolicy;
  }
Method to check whether we are dealing with DISABLE {@link SpaceViolationPolicy}. In such a
case, currPolicy or/and targetPolicy will be having DISABLE policy.
@param currPolicy   currently set space violation policy
@param targetPolicy new space violation policy
@return true if is DISABLE space violation policy; otherwise false
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaObserverChore.java