def IsLiteral(item):
if not isinstance(item, WSDLTools.MessageRoleBinding):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>sbb = None<EOL>if item.type == '<STR_LIT:input>' or item.type == '<STR_LIT>':<EOL><INDENT>sbb = item.findBinding(WSDLTools.SoapBodyBinding)<EOL><DEDENT>if sbb is None:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>return sbb.use == '<STR_LIT>'<EOL>
item -- MessageRoleBinding instance.