I think the docstring should describe what this function is about. It's used to connect to the ALM, but also to test those connections, right?