code: def loadAnns(self, ids=[]):
          
          if type(ids) == list:
              return [self.anns[id] for id in ids]
          elif type(ids) == int:
              return [self.anns[ids]]
docs: Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying anns
          :return: anns (object array) : loaded ann objects