code: public function isAvailableForQuantity(float $quantity)
      {
          if ($quantity < $this->minimumQuantity) {
              return false;
          } elseif ($quantity > $this->availableQuantity + $this->resupplyQuantity) {
              return false;
          }
  
          return true;
      }
docs: Returns
  
  @param float $quantity
  
  @return bool