Yes, see the "if statements" section in the (very terse) documentation https://github.com/martinlindhe/feng/blob/main/TEMPLATE.md#i...
You can see it in use in the PNG format template, here: https://github.com/martinlindhe/feng/blob/main/templates/ima...