'Remove the last content element from this cell if it is an empty
``<w:p>`` element.'

def _remove_trailing_empty_p(self):

    block_items = list(self.iter_block_items())
    last_content_elm = block_items[(-1)]
    if (last_content_elm.tag != qn(u'w:p')):
        return
    p = last_content_elm
    if (len(p.r_lst) > 0):
        return
    self.remove(p)
