I am attempting to write a convenience function that would, on an item in an orgmode list, insert a checkbox if there is none, and do nothing otherwise.
The question is how would I be able to test for the existence of a checkbox in a list item?
I'm aware of testing for a list item via
org-in-item-p, but am unable to find a similar predicate for checkboxes.
Any help would be appreciated. Thanks.