code: def only_relu_activation(layer: Layer) -> bool:
      """Checks if layer contains no or only a ReLU activation."""
      return (
          not contains_activation(layer)
          or contains_activation(layer, "linear")
          or contains_activation(layer, "relu")
      )
  
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 5 for calling a global function with example usage: only_relu_activation(layer) and returns: unknown