code: def hello(self):
          
          for env in self.args.environment:
              juicer.utils.Log.log_info("Trying to open a connection to %s, %s ...",
                                        env, self.connectors[env].base_url)
              try:
                  _r = self.connectors[env].get()
                  juicer.utils.Log.log_info("OK")
              except JuicerError:
                  juicer.utils.Log.log_info("FAILED")
                  continue
  
              juicer.utils.Log.log_info("Attempting to authenticate as %s",
                                        self.connectors[env].auth[0])
  
              _r = self.connectors[env].get('/repositories/')
  
              if _r.status_code == Constants.PULP_GET_OK:
                  juicer.utils.Log.log_info("OK")
              else:
                  juicer.utils.Log.log_info("FAILED")
                  juicer.utils.Log.log_info("Server said: %s", _r.content)
                  continue
          return True
docs: Test pulp server connections defined in ~/.config/juicer/config.