code: def print_contexts(self, names=False):
          
          contexts = self.get_contexts()
          if names:
              contexts = [context['name'] for context in contexts]
          pprint.pprint(contexts)
docs: Print users