isOpen()
Returns true if Spotlight is currently open, and false otherwise.
Example
console.log(window.CommandBar.isOpen()); // true
isOpen()Returns true if Spotlight is currently open, and false otherwise.
console.log(window.CommandBar.isOpen()); // true