def heartbeat(self):
url = '<STR_LIT>' % self.base_url<EOL>r = requests.get(url) <EOL>try:<EOL><INDENT>return r.json() == "<STR_LIT>"<EOL><DEDENT>except:<EOL><INDENT>return False<EOL><DEDENT>
Check the heartbeat of the ordering API

Args: None

Returns:  True or False