<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def empty_wav(wav_path: Union[Path, str]) -> bool: """Check if a wav contains data"""

    with wave.open(str(wav_path), 'rb') as wav_f:
        return wav_f.getnframes() == 0