def METHOD_NAME() -> Callable[[BaseSegment], bool]:
    """Returns a function that checks if segment is meta."""
    def _(segment: BaseSegment) -> bool:
        return segment.METHOD_NAME
    return _