added a usage message for check_is_valid.js