How to check if list item is really empty

When we are generating a document using Aspose.Words in the post callback method we are checking whether the list item is empty. If the list item is empty we are deleting that number.
The logic that we have used is:

if (para.IsListItem && string.IsNullOrWhiteSpace(para.GetText().Trim().IgnoreChars()))
{
    if (para.ParentNode is Cell parentCell && !string.IsNullOrWhiteSpace(parentCell.ParentRow.GetText().Trim().IgnoreChars()))
    {
        continue;
    }
    para.Remove();                                                                                     
}

However, our code is failing for some of the scenarios such as hanging bullet points, where we are starting the text from next line.
For eg:

What is the best way to check whether is list item is really empty.
How can we make sure in post callback that we are only deleting those bullet points which are empty?

@sampatil Your code is correct. List item in MS Word document is a paragraph, so you can simply check whether it has child nodes to check whether the paragraph is empty or like in your code check the paragraphs text.
On the provided screenshot there are 3 list items, one of which is empty.

Yes the main item is empty and hence as number 2 is getting deleted, the below numbering is also getting affected.
i.e. instead of 2.1 and 2.2, the numbering starts from 1.x.
Even though 2 is empty, as it has below bullet points 2.1 and 2.2, we don’t want to delete that bullet point.
How can we achieve this?

@sampatil The only way to achieve this is to check the following paragraphs whether they belongs to the same list but have different list level.