def spelling_did_you_mean(taw_soup):
    """ If argument contains "Did you mean:" returns the proposed search term

    Example
    -------
    search swoft
    google returns "did you mean" and "swift"

    Parameters
    ----------
    taw_soup : beautiful soup object
        A partially parsed Google search response

    Returns
    -------
    string if found, else return None
    """
    taw_soup_a = taw_soup.a
    if taw_soup_a is None:
        return None

    taw_soup_a_b = taw_soup_a.b
    if taw_soup_a_b is None:
        return None

    taw_soup_a_b_i = taw_soup_a_b.i

    taw_soup_a_b_i_string = taw_soup_a_b_i.string

    if len(taw_soup_a_b_i_string) == 0:
        return None
    else:
        return taw_soup_a_b_i_string