def _check_api(self, text: str, srctext=None) -> bytes:
root = self._get_root(self._url, self._encode(text, srctext))<EOL>return (b'<STR_LIT>' +<EOL>ElementTree.tostring(root) + b"<STR_LIT:\n>")<EOL>
Match text against enabled rules (result in XML format).