org-in-src-block-p

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

(org-in-src-block-p &optional INSIDE)

Whether point is in a code source block.
When INSIDE is non-nil, don't consider we are within a src block
when point is at #+BEGIN_SRC or #+END_SRC.