def is_extension_module(filename):
return os.path.splitext(filename)[<NUM_LIT:1>].lower() in ('<STR_LIT>','<STR_LIT>')<EOL>
Return whether the given filename is an extension module.

    This simply checks that the extension is either .so or .pyd.