def get_power_plants_by_string_in_object_name(object_name_part, db_emlab_powerplants):
    """
    Return list of power plants in which the string can be found.

    :param object_name_part: string
    :param db_emlab_powerplants: PowerPlants as queried from EMLAB SpineDB
    :return: List
    """
    return {row['object_name']: row['parameter_value'] for row in db_emlab_powerplants
            if row['object_class_name'] == 'PowerPlants'
            and object_name_part in row['object_name']
            and row['parameter_name'] == 'ON-STREAMNL'}