parameters: (self, name, *args, **kwargs)
docstring: Creates a global variable if not exists and returns the variable and
          a boolean flag which is true when it is a new variable.
docstring_summary: Creates a global variable if not exists and returns the variable and
          a boolean flag which is true when it is a new variable.
docstring_tokens: Creates a global variable if not exists and returns the variable and a boolean flag which is true when it is a new variable .
function: def create_or_get_global_variable(self, name, *args, **kwargs):
          """
          Creates a global variable if not exists and returns the variable and
          a boolean flag which is true when it is a new variable.
          """
          if self.main_program.global_block().has_var(name):
              return self.main_program.global_block().var(name), False
          else:
              return self.create_global_variable(name=name, *args, **kwargs), True
function_tokens: def create_or_get_global_variable ( self , name , * args , * * kwargs ) : if self . main_program . global_block ( ) . has_var ( name ) : return self . main_program . global_block ( ) . var ( name ) , False else : return self . create_global_variable ( name = name , * args , * * kwargs ) , True