Conditional in workflow error

Should this not be true instead of == 1?

when: $(inputs.rna_data == true)