def METHOD_NAME(self, li):
    """Search for checkbox in sub-paragraph."""
    found = False
    if len(li):
        first = next(iter(li))
        if first.tag == "p" and first.text is not None:
            m = RE_CHECKBOX.match(first.text)
            if m is not None:
                first.text = self.md.htmlStash.store(
                    get_checkbox(m.group('state'), self.custom_checkbox, self.clickable_checkbox)
                ) + m.group('line')
                found = True
    return found