def METHOD_NAME(self, reaction, target_function=None, options=""):
    result = []
    query = self.indigo.loadQueryReaction(reaction.rawData())
    sub_matcher = self.bingo.searchSub(query, options)
    while sub_matcher.next():
        id = sub_matcher.getCurrentId()
        result.append(id)
    sub_matcher.close()
    return result