func (c *CheckPrerequisite) IsPresent() bool {
	_, exitCode, _ := internal.Capture(cwd, nil, c.HelpCommand...)
	return exitCode == c.ExpectedExitCode
}
IsPresent returns true if the prerequisite is present on the system.
package checks
import (
	"bytes"
	"errors"
	"fmt"
	"log"
	"os"
	"sort"
	"strings"
	"sync"
	"time"
	"github.com/maruel/pre-commit-go/internal"
	"github.com/maruel/pre-commit-go/scm"
)
type CheckPrerequisite struct {
	HelpCommand []string `yaml:"help_command"`
	ExpectedExitCode int `yaml:"expected_exit_code"`
	URL string
}