def appliesToEvent(self, event):
return (<EOL>event in self.individualEvents.all() or<EOL>event.session in self.eventSessions.all() or<EOL>event.category in self.seriesCategories.all() or<EOL>event.category in self.eventCategories.all()<EOL>)<EOL>
Check whether this guest list is applicable to an event.