title: How to check if currently in Wordpress Admin?
body: <p>I am creating my first plugin and have a single function that controls the output. This function has different output based on whether or not it is being viewed from within the WordPress admin vs. the frontend. Is there any way to easily test whether or not my function is being triggered from within admin vs the frontend?</p>
  
  <p>I've tried conditionally checking the query string against the name of my plugin "page" name but it seems to fail on some servers/installs.</p>
  
  <p>Thanks</p>