def METHOD_NAME(state: str, dc_statehood: bool):
    list_of_state_and_territory_abbrs = [
        x.abbr for x in us.states.STATES_AND_TERRITORIES
    ]
    if dc_statehood is True:
        list_of_state_and_territory_abbrs.append("DC")
    else:
        pass
    if len(state) != 2:
        return False
    elif type(state) != str:  # noqa: E721
        return False
    elif state in list_of_state_and_territory_abbrs:
        return True
    else:
        return False