code: def isItemAllowed(self, obj):
          
          uid = api.get_uid(obj)
          if not self.get_item_slot(uid):
              logger.warning("Slot not assigned to item %s" % uid)
              return False
          return BaseView.isItemAllowed(self, obj)
docs: Returns true if the current analysis to be rendered has a slot
          assigned for the current layout.
  
          :param obj: analysis to be rendered as a row in the list
          :type obj: ATContentType/DexterityContentType
          :return: True if the obj has an slot assigned. Otherwise, False.
          :rtype: bool