code: def is_reachable(self):
          
          if self.verify_reachability and \
                  hasattr(self.verify_reachability, '__call__'):
              return self.verify_reachability(host=self.hostname, port=self.port)
          # assume is reachable if can't verify
          return True
docs: Return if host is reachable.