Clear up is_valid logic in SCRATCH.
Remove scratch_valid method.