def __contains__(self, item):
if self.annotations:<EOL><INDENT>return item in self.annotations.keys()<EOL><DEDENT>return item in self.sequence<EOL>
bool: If the instance was initialzed with a dictonary (which means
    the ``annotations`` attribute is not empty), ``__contains__(key)``
    will return ``True`` if ``key`` is in ``annotations.keys()``. If ``annotations``
    is an empty dict, indicating instantiation without a dictionary,
    ``__contains__(motif)`` will return True if ``motif`` is in the
    ``sequence attribute.