I have integrated Chosen in the FormBuilder for a project. In the formbuilder, the form elements are created in an ajax action. This check is added to make sure the addChosen function also works in these ajax actions. I left it here so the option to integrate further in the FormBuilder module is possible.