def _label_by_line_number(self, line_number_to_match: int, labels: Sequence[LineLabel]) -> str:
    matching_label = None
    for label in labels:
        label_line_number = label.line_number
        if (label_line_number and label_line_number.is_matching_number(line_number_to_match)):
            matching_label = label
    return (matching_label.formatted_label if matching_label else '')
def _label_by_line_number(self, line_number_to_match: int, labels: Sequence[LineLabel]) -> str:
    matching_label = None
    for label in labels:
        label_line_number = label.line_number
        if (label_line_number and label_line_number.is_matching_number(line_number_to_match)):
            matching_label = label
    return (matching_label.formatted_label if matching_label else )