check that bounds are an instance of LatLngBounds