code: def is_layer_at_idx(model: Model, layer: Layer, index) -> bool:
      """Checks if layer is a layer at specified index of model."""
      return layer == model.layers[index]
  
imports: from __future__ import annotations
  import tensorflow.keras.layers
  from tensorflow import Module, keras
  import innvestigate.backend
  from innvestigate.backend.types import Layer, Model
label_desc: Use image node_id 17 for calling a global function with example usage: is_layer_at_idx(model, layer, index) and returns: unknown