VOL-42: Commendations

I favor using PHP native functions when they do the job just as well. Since you are doing a test anyway, CRM_Utils_Array::value isn't doing anything for you.
if (key_exists()) {
     do assignment
}