Canva Interview Question

Explain why you would want to override equals method.