def check_if_string_present_in_trial_logs(trial_id: int, target_string: str) -> bool:
    logs = trial_logs(trial_id)
    for log_line in logs:
        if (target_string in log_line):
            return True
    return False
def check_if_string_present_in_trial_logs(trial_id: int, target_string: str) -> bool:
    logs = trial_logs(trial_id)
    for log_line in logs:
        if (target_string in log_line):
            return True
    return False