human
check if a list is empty
assistant
Here is some code to check if list `li` is empty

if (len(li) == 0):
    pass

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.