add is_starved and update comments
Merge pull request #24 from mreiferson/starved_24

add is_starved method