modify the 'def xhr?' method return value