check flash presence