Check If Open File Is Empty Python Array Vs List