pub fn is_codegen_valid_for(metadata: &Metadata) -> bool
check whether the metadata provided is aligned with this statically generated code.