def is_str_exception(self, node):
return (<EOL>isinstance(node, Call)<EOL>and isinstance(node.func, Name)<EOL>and node.func.id in ('<STR_LIT:str>', '<STR_LIT>')<EOL>and node.args<EOL>and self.is_bare_exception(node.args[<NUM_LIT:0>])<EOL>)<EOL>
Checks if the node is the expression str(e) or unicode(e), where e is an exception name from an except block