code: def format_response(self, response):
          
          conversion = self.shell_ctx.config.BOOLEAN_STATES
          if response in conversion:
              if conversion[response]:
                  return 'yes'
              return 'no'
          raise ValueError('Invalid response: input should equate to true or false')
docs: formats a response in a binary