def _is_fft_sgn_negative(sicd, dimension):
    """
    Check if the sicd structure has negative fft sign along the given dimension.

    Parameters
    ----------
    sicd : SICDType
    dimension : int

    Returns
    -------
    bool
    """

    if dimension == 0:
        if sicd.Grid is None or sicd.Grid.Row is None or sicd.Grid.Row.Sgn is None:
            return True
        return sicd.Grid.Row.Sgn == -1
    else:
        if sicd.Grid is None or sicd.Grid.Col is None or sicd.Grid.Col.Sgn is None:
            return True
        return sicd.Grid.Col.Sgn == -1