bool */ private function behavior_match_context( $behavior ) { if ( ! $this->options->get( 'control_heartbeat', 0 ) ) { return false; } $context = $this->get_current_context(); return $behavior === $this->options->get( 'heartbeat_' . $context . '_behavior', '' ); } }