code: def heartbeat(self):
          
          url = urljoin(self.base_url, 'heartbeat')
          return self.session.get(url).json()['ok']
docs: Check The API Is Up.
  
          https://starfighter.readme.io/docs/heartbeat