code: def _(a, b):
      # If I have open end points and these endpoints are contained in b
      # But only in case, when endpoints are finite. Because
      # interval does not contain oo or -oo.
      open_left_in_b_and_finite = (
          a.left_open
          and sympify(b.contains(a.start)) is S.true
          and a.start.is_finite
      )
      open_right_in_b_and_finite = (
          a.right_open
          and sympify(b.contains(a.end)) is S.true
          and a.end.is_finite
      )
      if open_left_in_b_and_finite or open_right_in_b_and_finite:
          # Fill in my end points and return
          open_left = a.left_open and a.start not in b
          open_right = a.right_open and a.end not in b
          new_a = Interval(a.start, a.end, open_left, open_right)
          return {new_a, b}
      return None
  
imports: from sympy.core.singleton import S
  from sympy.core.sympify import sympify
  from sympy.functions.elementary.miscellaneous import Min, Max
  from sympy.sets.sets import EmptySet, FiniteSet, Intersection, Interval, ProductSet, Set, Union, UniversalSet
  from sympy.sets.fancysets import ComplexRegion, Naturals, Naturals0, Integers, Rationals, Reals
  from sympy.multipledispatch import Dispatcher
label_desc: Use image node_id 15 for calling a global function with example usage: _(a, b) and returns: None, unknown