<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_next_time(lines: [dict], target: str) -> str: # type: ignore """ Returns the next FROM target value or empty """

    for line in lines:
        if line[target] and not _is_tempo_or_prob(line['type']):
            return line[target]
    return ''