Yep. The brain and heart both have electrical impulses. Brain death is when the brain consistently has no electrical impulses but the body is being kept alive by machines.