It is common for scripts to crash if the wrong output headers are sent when a script runs from the command line. This function will return a simple boolean, allowing you to easily check for this.
boolean