title: How to check Boot loader is unlocked or not
body: <p>I'm trying to check boot loader is unlocked or not. For this I've checked some discussions in online but i didn't get anything related except the <a href="https://stackoverflow.com/a/50388477/3142611">below one</a> (I don't know is it correct one or not)</p>
  
  <pre><code>String BootLoader_value = Build.BOOTLOADER;
  </code></pre>
  
  <p>but this giving string <code>unknown</code> for every device. Any one know, how to detect <code>boot loader</code> is unlocked or not </p>