code: def get_parent(self, name, path, set_flag=False):
      if name == None:
          return None
      current_node = self.get_node(name)
      for idx in path:
          if len(current_node.in_edges) <= idx:
              return None
          parent_name = current_node.in_edges[idx].split(":")[0]
          current_node = self.get_node(parent_name)
          if set_flag:
              current_node.covered = True
      return current_node
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
label_desc: Use image node_id 9 for calling the Graph obj's underlying member method code with example usage: obj.get_parent(name, path, set_flag) and returns: current_node, None, None