Check If Array Not Empty Python Code Compiler