def _checkForTrailingComma(self):
        if self._payload.getvalue()[-1] != ",":
            raise NetstringParseError(self._MISSING_COMMA)
Checks if the netstring has a trailing comma at the expected position.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/basic.py/NetstringReceiver._checkForTrailingComma