title: Way to check whether TinyMCE is active in WordPress
body: <p>I'm working on a plugin that, when TinyMCE is in use as the Visual editor, uses TinyMCE commands to insert text into body content editing area. Currently, it works by just running the command. If it works, then TinyMCE is active and if not, then I have custom JS for working with the HTML editor.</p>
  
  <p>My question, however: is there any way to check whether TinyMCE is active or not instead of just running the command and having it fail when it isn't?</p>