src/graphnet/plots/utils.py
def check_for_retro(data: pd.DataFrame) -> bool:
    """Check whether `data` contains a column with a name containing "retro"."""
    columns = data.columns
    is_retro = False
    for column in columns:
        if "retro" in column:
            is_retro = True
            break
    return is_retro
Check whether `data` contains a column with a name containing "retro".
Check whether `data` contains a column with a name containing "retro".
Check whether ` data ` contains a column with a name containing " retro " .
def check_for_retro(data: pd.DataFrame) -> bool:
    columns = data.columns
    is_retro = False
    for column in columns:
        if "retro" in column:
            is_retro = True
            break
    return is_retro
def check_for_retro ( data : pd . DataFrame ) -> bool : columns = data . columns is_retro = False for column in columns : if "retro" in column : is_retro = True break return is_retro
Check whether `data` contains a column with a name containing "retro".
Check whether ` data ` contains a column with a name containing " retro " .
"""Check whether `data` contains a column with a name containing "retro"."""
data
pd.DataFrame