Check if current page is using blocks (Gutenberg) or is legacy

I know it’s been awhile, but yes. You can check if a post uses blocks, check out has_blocks() : https://developer.wordpress.org/reference/functions/has_blocks/

I’m using it when filtering content, to see if I need to parse blocks or not.