Create checkReady  convenience function.

I've also added the check for the ready state to a few
other functions that need it.