def get_fish_func_type(settings_dict):
    """inspect input and generate dictionary of functional type of each group"""

    fish_func_type = {}
    for f in settings_dict['fish']['members']:
        fish_func_type[f['name']] = f['functional_type']

    for b in settings_dict['benthic_prey']['members']:
        fish_func_type[b['name']] = 'benthic_prey'

    for z in settings_dict['zooplankton']['members']:
        fish_func_type[z['name']] = 'zooplankton'

    return fish_func_type