code: def read_only(self, value):
          
  
          if value is not None:
              assert type(value) is bool, "'{0}' attribute: '{1}' type is not 'bool'!".format("read_only", value)
          self.__read_only = value
docs: Setter for **self.__read_only** attribute.
  
          :param value: Attribute value.
          :type value: bool