
`Formula#any_version_installed?` doesn't consider taps so we need to manually check the tabs from the kegs instead. See https://github.com/Homebrew/brew/pull/16330#issuecomment-1854007492 onwards for relevant discussion.
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.