How to target Tag pages with if statement?

I want to change the Title in my head for Tag pages only but I couldn’t find a way to target them correctly.

Is there a way to do it similar like we can do with targeting homepage with {{if .IsPage .IsHome }}?

{{ if eq .Kind "term" }} 

It says the Kind is not defined.

See edited response.