Merge pull request #2 from tumblr/add_check_values_function

add poll_status_value function