my 'isChoice' definition