Add 'available' test for twig.

Pinging @gawainlynch -> Done!