class_docstr: Nominatim
  =========
  Nominatim (from the Latin, 'by name') is a tool to search OSM data by name
  and address and to generate synthetic addresses of OSM points (reverse geocoding).
  
  API Reference
  -------------
  http://wiki.openstreetmap.org/wiki/Nominatim
docstr: Check if specific URL has not been provided, otherwise, use cls._URL
docstr_tok: ["Check","if","specific","URL","has","not","been","provided",",","otherwise",",","use","cls._URL"]
code: def _before_initialize(self, location, **kwargs):
      """Check if specific URL has not been provided, otherwise, use cls._URL"""
      url = kwargs.get("url", "")
      if url.lower() == "localhost":
          self.url = "http://localhost/nominatim/search"
      elif url:
          self.url = url
  
imports: from __future__ import absolute_import
  import logging
  import json
  from geocoder.base import OneResult, MultipleResultsQuery
label_desc: Use image node_id 2 for calling the OsmQueryDetail obj's underlying member method code with example usage: obj._before_initialize(location) without return types