private function has(array &$list, $oid, StockUnitInterface $unit)
    {
        if (!isset($list[$oid])) {
            return false;
        }

        return false !== $this->find($list, $oid, $unit);
    }