deviceHasFlash implementation