title: In laravel application how to configure isSuperAdmin()?
body: <p>I want to add admin authentication into my application using Gate facades. Basically, I want to do authorization if the user is an admin so he can able to see all the posts if he is a normal user so he can only see his post.I copied this code from laravel official documentation and I did not understand from where isSuperAdmin() come from and how to configure this.  </p>
  
  <pre><code>Gate::before(function ($user, $ability)
  {     
      if ($user-&gt;isSuperAdmin())
      {         
          return true;  
      }
  });
  </code></pre>