Check If Open File Is Empty Python Dict