comment-only-p

comment-only-p is a compiled Lisp function in `newcomment.el'.

(comment-only-p BEG END)

Return non-nil if the text between BEG and END is all comments.