def is_compiled_py(filename):
return True if filename[-<NUM_LIT:4>:].lower() in ('<STR_LIT>', '<STR_LIT>') else False<EOL>
Given a file name, return True if the suffix is pyo or pyc (an
optimized bytecode file).