CBN check for import and language blocks

Check in CBN.
It throws an exception when the parsed nodes are import or language block nodes.