identifyCaseIssues function

A checkFunction for identifying case issues