private function detectConflict(array $digits, callable $detect)
    {
        foreach ($digits as $digit) {
            if ($this->inDigits($digit, $digits, $detect)) {
                return true;
            }
        }

        return false;
    }