<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def merge_global_options(self, needs_info):
 """Add all global defined options to needs_info"""

        global_options = getattr(self.env.app.config, 'needs_global_options', None)
        if global_options is None:
            return
        for key, value in global_options.items():

            # If key already exists in needs_info, this global_option got overwritten manually in current need
            if key in needs_info.keys():
                continue

            needs_info[key] = value