def active(self): """ Return True if the Slide is active, else: False. """ from api import get_active_slide return get_active_slide(True) == self.key
def active(self): """ Return True, if the the slide is the active slide. """ from api import get_active_slide return get_active_slide(only_sid=True) == self.sid