check_data function

Generic S3 method for checking data based on model type