MNT: Collapsed if block