function getBooleanInput(name, options) {
    const trueValue = ['true', 'True', 'TRUE'];
    const falseValue = ['false', 'False', 'FALSE'];
    const val = getInput(name, options);
    if (trueValue.includes(val))
        return true;
    if (falseValue.includes(val))
        return false;
    throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` +
        `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);
}
Gets the input value of the boolean type in the YAML 1.2 "core schema" specification.
Support boolean input list: `true | True | TRUE | false | False | FALSE` .
The return value is also in boolean type.
ref: https://yaml.org/spec/1.2/spec.html#id2804923

@param     name     name of the input to get
@param     options  optional. See InputOptions.
@returns   boolean