code: def SpiceUDBAIL(f):
      
      @functools.wraps(f)
      def wrapping_udbail():
          result = f()
          return int(result)
      return UDBAIL(wrapping_udbail)
docs: Decorator for wrapping python functions in spice udbail callback type
      :param f: function to be wrapped
      :type f: builtins.function
      :return: wrapped udbail function
      :rtype: builtins.function