Compare models using is() instead of directly comparing attributes

Compare models using is() instead of directly comparing attributes

🔥 Tip: Compare models using ->is() instead of doing direct attribute value comparisons

This is a simpler version of the tip below https://twitter.com/archtechx/status/1465334771349811219

We're writing a book, you can get it for free here.