def update(self): self.is_homepage_story = IHomeStory.providedBy(self.context)
def can_disable(self): """ See IHomeStoriesSubtyper """ return ICompanyStory.providedBy(self.context) \ and IHomeStory.providedBy(self.context)