validates_handle: simplified check for empty value