Save the script in a file called is-drupal, and make it executable (i.e. chmod +x is-drupal) and put it in a directory in your path (e.g. ~/local/bin/). Now, you can easily check a site with following command:

This is awesome. pizza_party is a 24 KB Perl script written for people who spend so much time at the command-line that they don't have
time to pick up the phone and call Dominos, or even to go thru the many-step process of using Dominos
web interface. Obviously it's released under the GPL. The website reports that it's been ported to Python.