check_location_name#
- check_location_name(location)[source]#
Check the location json data object has a string.
- Parameters:
location (json) – the json object with location data
- Returns:
[True, str] if the location json has a str value in the location_name field. Returned str specifies the location_name. [False, str] if the location json does not have a str value in the location_name field.