[cache] Use `if true` convention