No, but another one you can do it in is PHP and JavaScript
function isEven($number) {
return $number % 2 == 0;
}
That's actually valid PHP code and JavaScript. But I think you'll need to use eval on that in the PHP vm because it won't have the `<?php`