add define check submodule and use it for the asn1 definition