code: def get_context_info(self, context_name):
          
          context_info = self.zap.context.context(context_name)
          if not isinstance(context_info, dict):
              raise ZAPError('Context with name "{0}" wasn\'t found'.format(context_name))
  
          return context_info
docs: Get the context ID for a given context name.