I have following code and Sonar supposes it is about code smell (2589):
void Method1(object value) { return value is bool isBold && isBold ? FontW