If year , month and day are not in given range
if ( y > MAX_VALID_YR or y < MIN_VALID_YR ) : NEW_LINE INDENT return False NEW_LINE DEDENT if ( m < 1 or m > 12 ) : NEW_LINE INDENT return False NEW_LINE DEDENT if ( d < 1 or d > 31 ) : NEW_LINE INDENT return False NEW_LINE DEDENT