code: def scalar_input_map(func, input_):
      
      if util_iter.isiterable(input_):
          return list(map(func, input_))
      else:
          return func(input_)
docs: Map like function
  
      Args:
          func: function to apply
          input_ : either an iterable or scalar value
  
      Returns:
          If ``input_`` is iterable this function behaves like map
          otherwise applies func to ``input_``