def check_import(module_name):
try:<EOL><INDENT>imp.find_module(module_name)<EOL>return True<EOL><DEDENT>except ImportError:<EOL><INDENT>return False<EOL><DEDENT>
Search if a module exists, and it is possible to try importing it

Args:
    module_name(str): module to import

Returns:
    bool: True if the package is found