def _label(label: str) -> str:
    """
    Returns a query term matching a label.

    Args:
        label: The label the message must have applied.

    Returns:
        The query string.

    """

    return f'label:{label}'