ivaynberg/select2 — pull request #2118 by denheck (2014-02-13 22:47:00+00:00)
Title: add method for detecting if element is select2

Adds a simple method for detecting if an element has been initialized as a select2.

Example:
$('#is_select2_element').select2('isSelect2') // returns true
$('#not_select2_element').select2('isSelect2') // returns false