[TASK] Optimize invocation of cObj::checkIf