code: def test_no_events(component_class):
      assert not hasattr(component_class, "available_events")
  
imports: import json
  import os
  from collections import OrderedDict
  from difflib import unified_diff
  import pytest
  from dash.development._py_components_generation import generate_class
  from dash.development.component_generator import reserved_words
  from .None import _dir, expected_table_component_doc
label_desc: Use image node_id 11 for calling a global function with example usage: test_no_events(component_class) without return types