dict and isDict aren't used in this method's scope