code: public final boolean isValueInside(final Metric metric) {
          
          BigDecimal value = metric.getMetricValue(prefix);
          
          boolean bRes = true;
          // Sets the minimum value of the range
          if (minVal != null) {
              bRes = bRes && (value.compareTo(minVal) >= 0);
          }
          // Sets the maximum value of the range
          if (maxVal != null) {
              bRes = bRes && (value.compareTo(maxVal) <= 0);
          }
          if (negateThreshold) {
              return !bRes;
          }
          return bRes;
      }
docs: Returns <code>true</code> if the value falls inside the range.
  
  @param metric
  The metric to be checked
  
  @return <code>true</code> if the metric value value falls inside the
  range.
  <code>false</code> otherwise.