[Fix #1145] New cop ClassCheck