is.classification function

Check if a certain predictive task is a classification problem