code: def color_prompt(self):
          ''' Construct psiTurk shell prompt '''
          prompt = '[' + colorize('psiTurk', 'bold')
          server_string = ''
          server_status = self.server.is_server_running()
          if server_status == 'yes':
              server_string = colorize('on', 'green')
          elif server_status == 'no':
              server_string = colorize('off', 'red')
          elif server_status == 'maybe':
              server_string = colorize('unknown', 'yellow')
          elif server_status == 'blocked':
              server_string = colorize('blocked', 'red')
          prompt += ' server:' + server_string
          prompt += ' mode:' + colorize('cabin', 'bold')
          prompt += ']$ '
          self.prompt = prompf color_prompt(self):
          ''' Construct psiTurk shell prompt '''
          prompt = '[' + colorize('psiTurk', 'bold')
          server_string = ''
          server_status = self.server.is_server_running()
          if server_status == 'yes':
              server_string = colorize('on', 'green')
          elif server_status == 'no':
              server_string = colorize('off', 'red')
          elif server_status == 'maybe':
              server_string = colorize('unknown', 'yellow')
          elif server_status == 'blocked':
              server_string = colorize('blocked', 'red')
          prompt += ' server:' + server_string
          prompt += ' mode:' + colorize('cabin', 'bold')
          prompt += ']$ '
          self.prompt = prompt
docs: Construct psiTurk shell prompt