code: def test_include_top_false():
      hp = hp_module.HyperParameters()
      hypermodel = xception.HyperXception(
          input_shape=(256, 256, 3), classes=10, include_top=False
      )
      model = hypermodel.build(hp)
      assert not hasattr(model, "optimizer") or not model.optimizer
  
file_path: keras-tuner/keras_tuner/applications/xception_test.py
imports: import numpy
  import pytest
  from keras_tuner.applications import xception
  from keras_tuner.backend import config
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 3 for calling a global function with example usage: test_include_top_false() without return types