In a nutshell I'm trying to write a PHP if statement where the condition is "is this page a taxonomy term page and if so is it from vocabulary X?". But I don't know what to put as the condition. I made a template with views theme wizard using the taxonomy_term view and I want to change the output depending on what vocabulary the term belongs to.