Right now your code checks if the memory address of two objects is the same which can only be true if it is the same exact object.
You need to implement a method that compares two Osoba objects by comparing whichever properties you want from these objects and returning true/false appropriately.