(module)
return True
Attempts to load the module; returns a boolean
        indicating success or fail.
Attempts to load the module; returns a boolean
        indicating success or fail.
Attempts to load the module ; returns a boolean indicating success or fail .
def check_dependency(module):
    """ Attempts to load the module; returns a boolean
        indicating success or fail.
    """
    try:
        mod = __import__(module)
    except Exception, e:
        Error("Module %s failed to load! (%s)" % (module, e))
        return False
    return True
def check_dependency ( module ) : try : mod = __import__ ( module ) except Exception , e : Error ( "Module %s failed to load! (%s)" % ( module , e ) ) return False return True