docs: def _state_command(self, container_id=None, command='start', sudo=None):
  
      ''' A generic state command to wrap pause, resume, kill, etc., where the
          only difference is the command. This function will be unwrapped if the
          child functions get more complicated (with additional arguments).
  
          Equivalent command line example:      
             singularity oci <command> <container_ID>
             
          Parameters
          ==========
          container_id: the id to start.
          command: one of start, resume, pause, kill, defaults to start.
          sudo: Add sudo to the command. If the container was created by root,
                you need sudo to interact and get its state.
  
          Returns
          =======
          return_code: the return code to indicate if the container was started.
      '''
      sudo = self._get_sudo(sudo)
      container_id = self.get_container_id(container_id)
  
      # singularity oci state
      cmd = self._init_command(command)
  
      # Finally, add the container_id
      cmd.append(container_id)
  
      # Run the command, return return code
      return self._run_and_return(cmd, sudo)