text: def get_if_empty(a, b):
      return a if a else b
      
  def list_filter(v, filter_):
      filtered = filter(filter_, v)
      filtered = list(filtered)
  
      return filtered
          
  def merge_dict(a, b):
      c = a.copy()
      c.update(b)
  
      return c