Laravel 5.2 method to check is view exists?
<p>Is there any method to check if view exists? </p>

<p>Like PHP file_exists, but using internal laravel method for convenience</p>

<p>i want to code like this:</p>

<pre><code>if(__ifViewExist__($view)){
    return view($view)-&gt;render();
}
return "Page tidak ditemukan";
</code></pre>