why not isMode(mode_name)?