title: Check if Job is already in queue using Laravel 5 and Redis
body: <p>I've implemented a jobs queue a few days ago and I've been experiencing problems with duplication, I'm currently working with Redis and followed the Laravel's official tutorial.</p>
  
  <p>In my case, whenever someone goes to the homepage, a job is sent to the queue, lets take this example:</p>
  
  <p><strong>HomeController's</strong> <code>index()</code> :</p>
  
  <pre><code>public function index()
  {
      if(/*condition*/){
            //UpdateServer being the job
            $this-&gt;dispatch(new UpdateServer());
      }
  }
  </code></pre>
  
  <p>Since this task takes about 10 seconds to complete, if there's n requests to my homepage while the task is being processed, there will be n more of the same job in queue, resulting in unexpected results in my Database.</p>
  
  <p>So my question is, is there any way to know if a certain job is <strong>already</strong> in queue?</p>