*Title*: *Is there are any way to determine whether is a terminal filter at runtime* *Description*: Put `is_terminal` flag at proto file, and return deferent filter logic base on the flag.