docs: def install(application, **kwargs):
      """Call this to install StatsD for the Tornado application.
  
      :param tornado.web.Application application: the application to
          install the collector into.
      :param kwargs: keyword parameters to pass to the
          :class:`StatsDCollector` initializer.
      :returns: :data:`True` if the client was installed successfully,
          or :data:`False` otherwise.
  
      - **host** The StatsD host. If host is not specified, the
          ``STATSD_HOST`` environment variable, or default `127.0.0.1`,
          will be pass into the :class:`StatsDCollector`.
      - **port** The StatsD port. If port is not specified, the
          ``STATSD_PORT`` environment variable, or default `8125`,
          will be pass into the :class:`StatsDCollector`.
      - **namespace** The StatsD bucket to write metrics into.
  
      """
      if getattr(application, 'statsd', None) is not None:
          LOGGER.warning('Statsd collector is already installed')
          return False
  
      if 'host' not in kwargs:
          kwargs['host'] = os.environ.get('STATSD_HOST', '127.0.0.1')
      if 'port' not in kwargs:
          kwargs['port'] = os.environ.get('STATSD_PORT', '8125')
  
      if 'protocol' not in kwargs:
          kwargs['protocol'] = os.environ.get('STATSD_PROTOCOL', 'udp')
  
      setattr(application, 'statsd', StatsDCollector(**kwargs))
      return True