def search_stdout_contains(captured, find_me, contains_me):
    """Search stdout message for find_me, return true if it contains contains_me"""
    for msg in captured.out.split("/n"):
        if find_me in msg:
            print(f"Found '{find_me}' in '{msg}'")
            if contains_me in msg:
                print(f"Found '{contains_me}' in '{msg}'")
                return True
    return False