It doesn't return a dict but rather a bool. But I get the idea. Thanks.