docs: def set_name(address, name, anyway=False):
      """Set the name of an address.
  
      Sets the name of an address in IDA.
      If the name already exists, check the `anyway` parameter:
  
          True - Add `_COUNTER` to the name (default IDA behaviour)
          False - Raise an `exceptions.SarkErrorNameAlreadyExists` exception.
  
  
      Args
          address: The address to rename.
          name: The desired name.
          anyway: Set anyway or not. Defualt ``False``.
      """
      success = idaapi.set_name(address, name, idaapi.SN_NOWARN | idaapi.SN_NOCHECK)
      if success:
          return
  
      if anyway:
          success = idaapi.do_name_anyway(address, name)
          if success:
              return
  
          raise exceptions.SarkSetNameFailed("Failed renaming 0x{:08X} to {!r}.".format(address, name))
  
      raise exceptions.SarkErrorNameAlreadyExists(
          "Can't rename 0x{:08X}. Name {!r} already exists.".format(address, name))