Check that a drive is on the list of available drives before writing to it.