The whole line can be simplified to `if (static::isActive($i)) return true` as the method only returns booleans anyway.