Add for error checking:

if(!%(_z)s){%(fail)s;}