changed test to check if its valid to return true if the location has a longitude and a latitude