check this is a dict?