The location object to check
let location = { x: 10, y: 10 }
// The following instruction will return true
JMap.Geometry.isValidLocation(location)
location = {} // empty object
// The following instruction will return false
JMap.Geometry.isValidLocation(location)
JMap.Geometry.isValidLocation
Returns false if the provided parameter is not a valid location.