imiptools/handlers/common.py | raw changeset files shortlog |
1.1 --- a/imiptools/handlers/common.py Fri Sep 11 13:40:39 2015 +0200 1.2 +++ b/imiptools/handlers/common.py Fri Sep 11 15:49:33 2015 +0200 1.3 @@ -70,6 +70,12 @@ 1.4 1.5 "Common outgoing message handling functionality mix-in." 1.6 1.7 + def is_usable(self): 1.8 + 1.9 + "Return whether the current object is usable." 1.10 + 1.11 + return self.obj and self.obj.get_value("DTSTART") 1.12 + 1.13 def update_event_in_freebusy(self, for_organiser=True): 1.14 1.15 """