docstr: Load cats with the specified ids.
  
  :param ids (int array)       : integer ids specifying cats
  :return: cats (object array) : loaded cat objects
docstr_tok: ["Load","cats","with","the","specified","ids",".",":","param","ids","(","int","array",")",":","integer","ids","specifying","cats",":","return",":","cats","(","object","array",")",":","loaded","cat","objects"]
code: def loadCats(self, ids=[]):
      """Load cats with the specified ids.
  
      :param ids (int array)       : integer ids specifying cats
      :return: cats (object array) : loaded cat objects
      """
      if _isArrayLike(ids):
          return [self.cats[id] for id in ids]
      elif type(ids) == int:
          return [self.cats[ids]]
  
imports: import copy
  import itertools
  import json
  import sys
  import time
  from collections import defaultdict
  import numpy
  from pycocotools import mask
label_desc: Use image node_id 7 for calling the YTVIS obj's underlying member method code with example usage: obj.loadCats(ids) and returns: unknown, list