class Bus/Port: Revised test for valid file descriptor (device)