code: def ischildnode(baseid, nodeid):
      """Return True if the nodeid is a child node of the baseid.
  
      E.g. 'foo/bar::Baz' is a child of 'foo', 'foo/bar' and 'foo/bar::Baz', but not of 'foo/blorp'
      """
      base_parts = _splitnode(baseid)
      node_parts = _splitnode(nodeid)
      if len(node_parts) < len(base_parts):
          return False
      return node_parts[: len(base_parts)] == base_parts
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import warnings
  import py
  import six
  import _pytest._code
  from _pytest.compat import getfslineno
  from _pytest.mark.structures import NodeKeywords
  from _pytest.outcomes import fail
label_desc: Use image node_id 2 for calling a global function with example usage: ischildnode(baseid, nodeid) and returns: unknown, False