code: def identical(self, other):
          
          try:
              return (utils.dict_equiv(self.attrs, other.attrs) and
                      self.equals(other))
          except (TypeError, AttributeError):
              return False
docs: Like equals, but also checks attributes.