CheckPatterns