title: What does isDirty() mean in Laravel?
body: <p>First of all, I am not familiar with Laravel so much (or with the term "dirty" for that matter).<br>
  I stumbled upon this line of code - </p>
  
  <pre class="lang-php prettyprint-override"><code>if ($this-&gt;isDirty('status')) {
      if (Notification::has('website-status-' . strtolower($this-&gt;status))) {
          Notification::set($this-&gt;account, 'website-status-' . strtolower($this-&gt;status), $this-&gt;emailAttributes())
              -&gt;email();
      }
  }
  </code></pre>
  
  <p>And I couldn't understand what that means exactly. I tried to find out on the internet but the Laravel site only says this</p>
  
  <blockquote>
    <p>"Determine if a given attribute is dirty"</p>
  </blockquote>
  
  <p>which doesn't really help...</p>