pub fn has_data_left(reader: &mut impl BufRead) -> Result<bool, Error>
Check if there is any data left in the reader.