Make sure that all the months specified in the (probably complex) month specification to dcc are correct months, in the sense that they range between -24 and 12. Further, return the earliest month in the complete selection to decide if we need previous year climate later on.
check_months(selection)
a list with the earliest month and the result of the check (logical)
the month selection as vector, list, or nested list