Returns whether the current page is the page of the passed-in term.
$term: A term object.
function taxonomy_term_is_page($term) {
$page_term = menu_get_object('taxonomy_term', 2);
return !empty($page_term) ? $page_term->tid == $term->tid : FALSE;
}