add session->zap_enabled()

checks mechanism != NULL, or NULL + non-empty zap_domain