Wouldn't this be better to:

1. Find the view mode
1. Load the field_instance config for this view mode
1. Check if display style == 'hidden'

Instead of checking if ("teaser") ?