code: def get_duplicates_for(self, analysis):
          
          if not analysis:
              return list()
          uid = api.get_uid(analysis)
          return filter(lambda dup: api.get_uid(dup.getAnalysis()) == uid,
                        self.getDuplicateAnalyses())
docs: Returns the duplicates from the current worksheet that were created
          by using the analysis passed in as the source
  
          :param analysis: routine analyses used as the source for the duplicates
          :return: a list of duplicates generated from the analysis passed in