code: def getSiblings(self, retracted=False):
          
          request = self.getRequest()
          if not request:
              return []
  
          siblings = []
          retracted_states = [STATE_RETRACTED, STATE_REJECTED]
          for sibling in request.getAnalyses(full_objects=True):
              if api.get_uid(sibling) == self.UID():
                  # Exclude me from the list
                  continue
  
              if not retracted:
                  if api.get_workflow_status_of(sibling) in retracted_states:
                      # Exclude retracted analyses
                      continue
  
              siblings.append(sibling)
  
          return siblings
docs: Returns the list of analyses of the Analysis Request to which this
          analysis belongs to, but with the current analysis excluded.
          :param retracted: If false, retracted/rejected siblings are dismissed
          :type retracted: bool
          :return: list of siblings for this analysis
          :rtype: list of IAnalysis