code: function isCurrentFocusOnKeyguard (dumpsys) {
    let m = /mCurrentFocus.+Keyguard/gi.exec(dumpsys);
    return (m && m.length && m[0]) ? true : false;
  }
docs: /*
  Checks mCurrentFocus in dumpsys output to determine if Keyguard is activated