Returns 0 indicating the script that's running is not a REST client. The SpecTclRestCommand package, which provides emulators for all SpecTcl commands that run over the REST server interface returns 1. This command allows a script to know if it is or is not a REST client and take action that depends on that state. state.