code: @Override
      public boolean imbalanceDetected(LoadImbalance imbalance) {
          long min = imbalance.minimumLoad;
          long max = imbalance.maximumLoad;
  
          if (min == Long.MIN_VALUE || max == Long.MAX_VALUE) {
              return false;
          }
          long lowerBound = (long) (MIN_MAX_RATIO_MIGRATION_THRESHOLD * max);
          return min < lowerBound;
      }
docs: Checks if an imbalance was detected in the system
  
  @param imbalance
  @return <code>true</code> if imbalance threshold has been reached and migration
  should be attempted