Use regex.test() when we want to check for a Boolean.
Use regex.test() when we want to check for a Boolean.

BS5 commits: 9c2b9ac74d4abb5ec8b7864054315de3409d5f3a

todc/todc-bootstrap,todc/todc-bootstrap,todc/todc-bootstrap