make detection of conditional assignment optional