pub fn device_exists(device: &str) -> bool
Check if the given device exists Valid devices are “cd”, “ma”, and “mb”