This implements a simple but elegant method to find out if an import error can be swallowed to try the next module or if the import error is important and must be reraised.