def IsRPC(item):
if not isinstance(item, WSDLTools.OperationBinding):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>soapbinding = item.getBinding().findBinding(WSDLTools.SoapBinding)<EOL>sob = item.findBinding(WSDLTools.SoapOperationBinding)<EOL>style = soapbinding.style<EOL>if sob is not None:<EOL><INDENT>style = sob.style or soapbinding.style<EOL><DEDENT>return style == '<STR_LIT>'<EOL>
item -- OperationBinding instance.