code: def test_senstive_data_widget():
      sd = SensitiveDataWidget()
      assert hasattr(
          sd, "engine"
      ), "Sensitive Data Widget missing engine"
      assert hasattr(
          sd, "redact"
      ), "Sensitive Data Widget missing redact"
      assert hasattr(
          sd, "encrypt"
      ), "Sensitive Data Widget missing encrypt"
      assert hasattr(
          sd, "infotypes"
      ), "Sensitive Data Widget missing infotypes"
      assert hasattr(
          sd, "sample_size"
      ), "Sensitive Data Widget missing sample size"
      assert hasattr(
          sd, "__repr__"
      ), "Sensitive Data Widget missing __repr__ method"
      assert hasattr(
          sd, "_repr_html_"
      ), "Sensitive Data Widget missing _repr_html_ method"
      assert hasattr(
          sd, "show"
      ), "Sensitive Data Widget missing show method"
  
file_path: data-describe/tests/test_detection.py
imports: import pytest
  from data_describe.compat import _compat, _is_dataframe
  from data_describe.privacy.detection import sensitive_data, SensitiveDataWidget, presidio_engine
  from data_describe.privacy.detection import identify_pii, redact_info, encrypt_text, hash_string
label_desc: Use image node_id 1 for calling a global function with example usage: test_senstive_data_widget() without return types