title: What does isLocal() actually do in Laravel?
body: <p>I've been looking into <a href="https://laravel.com/docs/5.8/telescope#configuration" rel="nofollow noreferrer">Laravel Telescope</a> and it mentioned the ability of being able to run only in one's local environment as opposed to production by including the following code snippet in <code>AppServiceProvider</code>. </p>
  
  <pre><code>public function register()
  {
      if ($this-&gt;app-&gt;isLocal()) {
          $this-&gt;app-&gt;register(TelescopeServiceProvider::class);
      }
  }
  </code></pre>
  
  <p>This works fine but I am trying to figure out what exactly the <code>isLocal()</code> method does. So far, I have not been able to find much information.</p>
  
  <p>Thanks,</p>