Implement part of check_date
Implement check_date
Add is_valid_date