docs: def get(self, name, return_json=False, quiet=False):
      '''get is a list for a single instance. It is assumed to be running,
         and we need to look up the PID, etc.
      '''
      from spython.utils import check_install
      check_install()
  
      # Ensure compatible for singularity prior to 3.0, and after 3.0
      subgroup = "instance.list"
  
      if 'version 3' in self.version():
          subgroup = ["instance", "list"]
  
      cmd = self._init_command(subgroup)
  
      cmd.append(name)
      output = run_command(cmd, quiet=True)
  
      # Success, we have instances
  
      if output['return_code'] == 0:
  
          # Only print the table if we are returning json
          if quiet is False:
              print(''.join(output['message']))
  
          # Prepare json result from table
  
          header = ['daemon_name','pid','container_image']
          instances = parse_table(output['message'][0], header)
  
          # Does the user want instance objects instead?
          listing = []
          if return_json is False:
              for i in instances:
                  new_instance = Instance(pid=i['pid'],
                                          name=i['daemon_name'],
                                          image=i['container_image'],
                                          start=False)
  
                  listing.append(new_instance)
              instances = listing
  
      # Couldn't get UID
  
      elif output['return_code'] == 255:
          bot.error("Couldn't get UID")
          
      # Return code of 0
      else:
          bot.info('No instances found.')
  
      # If we are given a name, return just one
      if name is not None and len(instances) == 1:
          instances = instances[0]
  
      return instances