Is that right?
I think, that's correct:

if (get_pref('composeoptions') !== '0' && get_pref('composeoptions') !== '0') {