change not installed msg to is-brew-installed function