updated docs, renamed check_traits to the more logical check_value (since thats what the function does).