rename $isDisabled to isDisabledFlag