I have this dictionary in my Python code:
LOCATIONS = {
    1: {
        "Name": "West of house",
        "x": 0, "y": 0, "z": 0,
    },
    2: {
        "Name": "Test Location",
        "x": 0, "y": 0, "z": 0,
    }
}
How can I check the current values of x, y, and z and match them to a location and get its name?
 
     
    