code: def split_dict_by_key_prefix(d, prefix):
      """
      Returns two dictionaries, one containing all the items whose keys do not
      start with a prefix and another containing all the items whose keys do start
      with the prefix. Note that the prefix is not removed from the keys.
      """
      no_prefix = dict()
      with_prefix = dict()
      for k in d.keys():
          if k.startswith(prefix):
              with_prefix[k] = d[k]
          else:
              no_prefix[k] = d[k]
      return (no_prefix, with_prefix)
  
file_path: catboost/contrib/python/plotly/py2/plotly/shapeannotation.py
label_desc: Use image node_id 10 for calling a global function with example usage: split_dict_by_key_prefix(d, prefix) and returns: no_prefix,  with_prefix