@property
    def recurpattern(self):
        if self._vevents[self.ref] in 'RRULE':
            return self._vevents[self.ref]['RRULE'].to_ical().decode('utf-8')
        else:
            return ''
dataset/ETHPy150Open pimutils/khal/khal/khalendar/event.py/Event.recurpattern/swapped operands of `in`