title: Get last time a node checked in, in a recipe
body: <p>I know I can use knife to get the last time a node checked in but how would I get this information inside of a recipe?</p>
  
  <p>I can run a shell command to run knife in a recipe but just wondering if there is a more elegant solution. Is this a property stored in the node object that is exposed inside a recipe?</p>
  
  <p>I see a lot of folks online using the ohai_time attribute, but it looks like that just logs the last time chef-client ran not the last successful checkin. chef-client is running locally every 30 mins, will ohai_time still be updated if chef-client runs, but it isn't able to contact the server to do a successful checkin? If so then it doesn't make sense to use it.</p>