@since: bbPress (r2980)
Description
bbp_is_query_name()

Check the passed parameter against the current _bbp_query_name

Source: bp-forums/common/template.php:2211