title: Check if Auth User role id matches array in Laravel
body: <p>I am trying to evaluate an array of roles for an auth user. 100 and 102 are the role values I want to check. If the Auth user has one of these then return <code>true</code>. Is this possible? Here is my code so far: </p>
  
  <pre><code>if (Auth::user()-&gt;role_id == ([100, 102]) {
  //process code here. A lot of code. 
  }
  </code></pre>
  
  <p>I don't wish to repeat and check one at a time as the processing code is a lot and will make file lengthy. </p>