def METHOD_NAME(quiet=False):
    global MPI
    try:
        import mpi4py.MPI
        MPI = mpi4py.MPI
    except ImportError:
        if not quiet:
            # Re-raise with a more user-friendly error:
            raise ImportError("Please install mpi4py")