code: def unpack_location(location):
      
      coordinates = None
      placeable = None
      if isinstance(location, Placeable):
          placeable, coordinates = location.top()
  
      elif isinstance(location, tuple):
          placeable, coordinates = location
  
      else:
          raise ValueError(
              'Location should be (Placeable, (x, y, z)) or Placeable'
          )
      return (placeable, Vector(coordinates))
docs: Returns (:Placeable:, :Vector:) tuple
  
      If :location: is :Placeable: it will get converted to
      (:Placeable:, :Vector: corresponding to the top)