code: def inquire_property(name, doc=None):
      
  
      def inquire_property(self):
          if not self._started:
              msg = ("Cannot read {0} from a security context whose "
                     "establishment has not yet been started.")
              raise AttributeError(msg)
  
          return getattr(self._inquire(**{name: True}), name)
  
      return property(inquire_property, doc=doc)
docs: Creates a property based on an inquire result
  
      This method creates a property that calls the
      :python:`_inquire` method, and return the value of the
      requested information.
  
      Args:
          name (str): the name of the 'inquire' result information
  
      Returns:
          property: the created property