org-context-p

org-context-p is a compiled Lisp function in `org.el'.

(org-context-p &rest CONTEXTS)

Check if local context is any of CONTEXTS.
Possible values in the list of contexts are `table', `headline', and `item'.