code: def _limitFeatureVariationConditionRange(condition, axisLimit):
      minValue = condition.FilterRangeMinValue
      maxValue = condition.FilterRangeMaxValue
  
      if (
          minValue > maxValue
          or minValue > axisLimit.maximum
          or maxValue < axisLimit.minimum
      ):
          # condition invalid or out of range
          return
  
      return tuple(
          axisLimit.renormalizeValue(v, extrapolate=False)
          for v in (minValue, maxValue)
      )
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/instancer/featureVars.py
imports: from fontTools.ttLib.tables import otTables
  from copy import deepcopy
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: _limitFeatureVariationConditionRange(condition, axisLimit) and returns: tuple