checks whether changes were made within the form
| boolean | returns true if the data was changed | 
if(form.isDirty()){
    if(!form.validate())
        return false;
    form.save();
};
With form, the method is used before data validation and saving it to the component and server.