Checking for types in __eq__, in this case I believe we don't want to use duck typing so directly comparing the types