how to check if an np array is empty code example Example: check if array is empty python a = [] if not a: print("List is empty")