def METHOD_NAME(self, molecule, target_function=None, options=""):
    result = []
    exact_matcher = self.bingo.searchExact(molecule, options)
    while exact_matcher.next():
        id = exact_matcher.getCurrentId()
        result.append(id)
    exact_matcher.close()
    return result