Add "check" method to checking dialect

This method gives interface compatibility with the previous dialect for
writing dialects.