Checking if dict exists.