probe property

bool Function()? probe
final

Answers whether this tool is present, for tools PATH cannot answer for.

Most requirements are a binary on PATH and executable is the whole question. Visual Studio is not: cl exists only inside a Developer Command Prompt, so probing PATH reports a fully installed machine as missing it — and a false negative here does not fail a build, it silently skips the target, which is worse.

Implementation

final bool Function()? probe;