Check if `geo_location_data` is valid before use.
Normalized source code formatting to two spaces.