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