check if keyguard is enabled i.e. currently active from android application
<p>How can i check from my android application whether there is a keyguard enabled right now? I mean normally when screen goes off Android enables the keyguard, so next time you wake up you have keyguard screen infront of you. So I just want to know from the application that if there is a key guard enabled or not.</p>

<p>I had a look on keyguardmanager.java but it does not have that API.</p>

<p>Thanks,
Best Regards,
Dipen</p>
