parse check blocks on data
add support for 'check' in data blocks, which behaves like 'check' in functions, and is the last clause in a data definition