@since: BuddyPress 2.3.0 Added $feature as a parameter.
Description
bp_is_active()

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

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