@property<EOL><INDENT>def latency(self):<DEDENT>
ws = self.ws<EOL>return float('<STR_LIT>') if not ws else ws.latency<EOL>
:class:`float`: Measures latency between a HEARTBEAT and a HEARTBEAT_ACK in seconds.

        This could be referred to as the Discord WebSocket protocol latency.