Isdirty du modèle Laravel

if($model->isDirty()){
// the model has been edited, else codes here will not be executed
}
Asif Patel