better isIdle
Merge pull request #11 from hayksaakian/master

better isIdle