def METHOD_NAME(sagemaker_session):
    trial_component_names_searched = []
    search_filter = Filter(
        name="TrialComponentName", operator=Operator.CONTAINS, value=EXP_INTEG_TEST_NAME_PREFIX
    )
    search_expression = SearchExpression(filters=[search_filter])
    for s in trial_component._TrialComponent.search(
        search_expression=search_expression, max_results=10, sagemaker_session=sagemaker_session
    ):
        trial_component_names_searched.append(s.trial_component_name)
    assert len(trial_component_names_searched) > 0
    assert trial_component_names_searched  # sanity test