title: How to check if an Android App is a device owner?
body: <p>I am executing one test case using robot framework where I have to install an app and make it as device owner and then check if the same app has become a device owner or not. I have searched though Stack Overflow and other search engine results but there, they have mentioned on how to make an app as device owner but not the way how to check if an app is a device owner.</p>
  
  <p>I have used following command to make my app as device owner :</p>
  
  <pre><code>adb shell dpm set-device-owner com.myapp.package/.main.receiver.DeviceAdminReceiver
  </code></pre>
  
  <p>Now, I wanted to validate whether it is a device owner or now using ADB command.</p>