Function boolean

Requires a boolean. If one or more values are specified, the boolean must also match one of the specified values.