return type check (dict)