How to Find Out Whether its scanning or not?