Run script on rigidbody awake?

I have some rigidbodies that are set to sleep when the game starts, after the player hits them and they awake I want to turn a boolean on and increment the score, I know I need to do this in an if statement,

if (rigidbody awake && !hit)
   then do this .etc

How do I test for wether the rigidbody is awake or not?


if (!rigidbody.IsSleeping())
     // Do stuff here