@stable(as_of="0.4.0")
    def __bool__(self):
        return len(self) > 0
Returns truth value (truthiness) of sequence.
dataset/ETHPy150Open biocore/scikit-bio/skbio/sequence/_sequence.py/Sequence.__bool__