public function has(Batch $batch)
    {
        foreach ($this->batches as $batchItem) {
            if ($batchItem === $batch) {
                return true;
            }
        }
        return false;
    }