updated naming for isInputButtonVisible.