fixing Plugin.isDisabled return