title: Laravel check property exist
body: <p>How I can check existing property <code>$this-&gt;team-&gt;playerAssignment-&gt;player</code> in more rational way? Now I check it like this:</p>
  
  <pre><code>if ($this-&gt;team)
     if (($this-&gt;team-&gt;playerAssignment))
        if (($this-&gt;team-&gt;playerAssignment-&gt;player))
  </code></pre>