def is_tab(cls):
    """Decorator to explicitly classify an object as a tab.

    Using this vs just checking if the tab inherits from Tab allows
    you to build base tabs for common functionality.
    """
    cls._is_tab = True
    return cls