How does one check if an initial empty dictionary variable has contained data or not (am running a loop with a constraint if dictionary variable is empty)