def should_be_python(self):
<EOL>_, ext = os.path.splitext(self.filename)<EOL>if ext.startswith('<STR_LIT>'):<EOL><INDENT>return True<EOL><DEDENT>if not ext:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Does it seem like this file should contain Python?

        This is used to decide if a file reported as part of the exection of
        a program was really likely to have contained Python in the first
        place.