pysepal.solara.ui_state.has_scoped_state#
- pysepal.solara.ui_state.has_scoped_state(name, scope_id=None)[source]#
Whether
namealready exists for a scope, without creating it.- Parameters:
name (str) – Key of the state within the scope.
scope_id (str | None) – Scope to inspect; defaults to the current one.
- Returns:
True when the state exists.
- Return type:
bool