Angular Check Array Is Empty Python Array Vs List