code: def go_offline(self, comment=None):
          
          self.make_request(
              NodeCommandFailed,
              method='update',
              resource='go_offline',
              params={'comment': comment})
docs: Executes a Go-Offline operation on the specified node
  
          :param str comment: optional comment to audit
          :raises NodeCommandFailed: offline not available
          :return: None