sa_validate_proto_xf
if (!proto || sa_validate_proto_xf(proto, xf, sa->phase) != 0)
proto && sa_validate_proto_xf(proto, xf, sa->phase) != 0;