code: def _constrain_latitude_bounds(lower_bound, upper_bound):
      if lower_bound < MIN_ALLOWED_LATITUDE:
          lower_bound = MIN_ALLOWED_LATITUDE
          if upper_bound < lower_bound + EPSILON:
              upper_bound = lower_bound + EPSILON
      if upper_bound > MAX_ALLOWED_LATITUDE:
          upper_bound = MAX_ALLOWED_LATITUDE
          if lower_bound > upper_bound - EPSILON:
              lower_bound = upper_bound - EPSILON
      return lower_bound, upper_bound
  
imports: import math
label_desc: Use image node_id 5 for calling a global function with example usage: _constrain_latitude_bounds(lower_bound, upper_bound) and returns: lower_bound,  upper_bound