code: private function shouldInterruptInfinityBonus($percent, $percentParent)
      {
          $result = false;
          if (
              ($percentParent > 0) &&
              ($percentParent <= $percent)
          ) {
              $result = true;
          }
          return $result;
      }
docs: Interrupt infinity bonus if parent's percent exists and is greater or equal to current infinity percent.
  
  @param $percent
  @param $percentParent
  
  @return bool