code: def test_optimizer_built_setter():
      new_optimizer = optimizer.Optimizer()
  
      try:
          new_optimizer.built = 1
      except:
          new_optimizer.built = True
  
      assert new_optimizer.built is True
  
file_path: opytimizer/tests/opytimizer/core/test_optimizer.py
imports: import sys
  import numpy
  from opytimizer.core import function, optimizer
  from opytimizer.spaces import search
label_desc: Use image node_id 6 for calling a global function with example usage: test_optimizer_built_setter() without return types