code: def isItemAllowed(self, obj):
          
          if not obj:
              return False
  
          # Does the user has enough privileges to see retracted analyses?
          if obj.review_state == 'retracted' and \
                  not self.has_permission(ViewRetractedAnalyses):
              return False
          return True
docs: Checks if the passed in Analysis must be displayed in the list.
          :param obj: A single Analysis brain or content object
          :type obj: ATContentType/CatalogBrain
          :returns: True if the item can be added to the list.
          :rtype: bool