ocr_applied on the result says whether OCR ran.
Method signature
Parameters
Returns
AJob. Narrow with isParseResult(job.result). result.markdown is a
convenience alias for result.document.markdown.
Options
{ type: "parse_result", job_id }. Page selection and
include_images are not available on that source.
See Parse guide and Parse response.