private fun <T> assertIsLocation(newValue: T) {
            if (newValue !is List<*>)
                throw java.lang.IllegalArgumentException("Expected newValue to be a List<Double>")
            if (newValue[0] !is Double)
                throw java.lang.IllegalArgumentException("Expected newValue to be a List<Double>")