def get_code_item_index_from_code_off(self, code_off):
    self.get_code_items()
    if (code_off in self.code_off_to_code_item_idx):
        return self.code_off_to_code_item_idx[code_off]
    return (- 1)
def get_code_item_index_from_code_off(self, code_off):
    self.get_code_items()
    if (code_off in self.code_off_to_code_item_idx):
        return self.code_off_to_code_item_idx[code_off]
    return (- 1)