Check custom field when changing queues

Hi everyone

We want to check that a specific custom field has been set (to any
non-blank value) before allowing a ticket to be moved from our Triage queue
to any other queue. Does anyone have any code that does that?

"Why does God hate me so much? Is it because I don’t believe in him?" -
Sidney Morgenbesser