Check If Open File Is Empty Python Array To Set