code: public void checkIfTaco(final Connection connection, final String cmdname) throws DevFailed {
  	if (!is_taco(connection)) {
  	    Except.throw_non_supported_exception("TangoApi_NOT_TANGO_CMD", cmdname
  		    + " is NOT a TANGO command.", cmdname + "()");
  		}
      }
docs: ==========================================================================