@since: BuddyPress 1.2.0 See r2539.
Description
bp_is_active()

Check whether a given component (or feature of a component) is active.

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