BTW, another option would be to make this function itself a global function in this module, rather than part of the Location class, since it really has nothing to do with Locations.