1.1 --- a/imiptools/data.py Wed Jul 29 16:40:28 2015 +0200
1.2 +++ b/imiptools/data.py Wed Jul 29 18:41:11 2015 +0200
1.3 @@ -149,6 +149,15 @@
1.4 dtend, dtend_attr = self.get_datetime_item("DTEND")
1.5 return get_tzid(dtstart_attr, dtend_attr)
1.6
1.7 + def is_shared(self):
1.8 +
1.9 + """
1.10 + Return whether this object is shared based on the presence of a SEQUENCE
1.11 + property.
1.12 + """
1.13 +
1.14 + return self.get_value("SEQUENCE") is not None
1.15 +
1.16 # Construction and serialisation.
1.17
1.18 def make_calendar(nodes, method=None):