added hook_field_collection_is_empty_alter code