You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: vc_example_cocoapod_utils.rb
    path of file: ./repos/react-native-vision-camera/package/example/ios
    
    the code of the file until where you have to start completion: # Let's use ReactNativePodsUtils utility class to make it more maintainable
require Pod::Executable.execute_command('node', ['-p
    
def set_frame_processor_swift_flag_in_example_project(installer)
  has_worklets = does_example_have_worklets_enabled(installer)
  set_swift_compiler_flag_in_project(installer, has_worklets)
end

def does_example_have_worklets_enabled(installer)
  forceDisableFrameProcessors = false
  if defined?($VCDisableFrameProcessors)
    forceDisableFrameProcessors = true
  end
  has_worklets = ReactNativePodsUtils.has_pod(installer, "react-native-worklets-core") && !forceDisableFrameProcessors
end