This function allows users to compare objects (such as strings, ints etc) and if they’re the same, returns a true value, and if they’re not the same, returns a false value.