

def _stream_id_is_outbound(self, stream_id):
    '\n        Returns ``True`` if the stream ID corresponds to an outbound stream\n        (one initiated by this peer), returns ``False`` otherwise.\n        '
    return ((self % 2) == int(self.client_side))

dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py H2Connection._stream_id_is_outbound/VarMisuse@17/78 `stream_id`->`self`