Check for channel_groups in addition to channels when making a decision to generate heartbeats