def if_no_repeat(event):
 return (not event.is_repeat)

def if_no_repeat ( event ) : return ( not event . is_repeat )
callable that returns true when the previous event was delivered to another handler .