filter data in a template

Is there an filter method for Template?

Nope
Template shows only single data object so there is no place for filtering.