Add convenience method for data template validation

RB=224888
R=mtagle,gogenc,kjin,kparikh,si-dev
A=kjin