code: def in_same_row(rownum0min, rownum0max, rownumCmin, rownumCmax):
      if rownum0min >= rownumCmin and rownum0min <= rownumCmax:
          return True
      if rownum0max >= rownumCmin and rownum0max <= rownumCmax:
          return True
      return False
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/_constrained_layout.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import numpy
  import logging
  import warnings
  from matplotlib.legend import Legend
  import matplotlib.transforms
  import matplotlib._layoutbox
label_desc: Use image node_id 3 for calling a global function with example usage: in_same_row(rownum0min, rownum0max, rownumCmin, rownumCmax) and returns: False, True, True