How To Target Empty Product Extrafield?

Hey All

Can anyone help me in targeting a specific customfield?

I know this code now exists
print $object->showOptionals($extrafields, 'view', array('onlykey'=>'myfield_5'));
but it shows both columns(the label and the value).

I’d like to do an
if empty(extrafield-id) = 21 {then do this}
statement but cant seem to get just the value of the specific extrafield. (I’m working on the product page)