is_residuals function

Test if a table contains residuals.