@since: BuddyPress 3.0.0 Required for bbPress 2 integration.
Description
bp_is_group_forum_topic()

Is the current page a group forum topic?

Source: bp-core/bp-core-template.php:2989

bp_is_group_forum_topic_edit()

Is the current page a group forum topic edit page?

Source: bp-core/bp-core-template.php:3001

bp_is_forums_component()

Check whether the current page is part of the Forums component.

Source: bp-core/bp-core-template.php:2237