def __eq__(self, other):
        '''Define equality - sequences and strandedness are the.

        :returns: Whether current sequence's (Watson and Crick), topology,
                  and strandedness are equivalent to those of another sequence.
        :rtype: bool

        '''
        tops_equal = self.top == other.top
        bottoms_equal = self.bottom == other.bottom
        if tops_equal and bottoms_equal:
            return True
        else:
            return False
def __eq__ ( self , other ) : tops_equal = self . top == other . top bottoms_equal = self . bottom == other . bottom if tops_equal and bottoms_equal : return True else : return False
Define equality - sequences and strandedness are the.

        :returns: Whether current sequence's (Watson and Crick), topology,
                  and strandedness are equivalent to those of another sequence.
        :rtype: bool