@classmethod
def is_optional(cls):
    """Return True if this segment is optional.

        This is used primarily in sequence matching, where optional
        segments can be skipped.
        """
    return cls.optional
