MCPcopy
hub / github.com/spaceandtimefdn/SxT-Python-SDK / exists

Method exists

src/spaceandtime/sxtuser.py:146–149  ·  view source on GitHub ↗

Returns whether the user_id exists on the network.

(self)

Source from the content-addressed store, hash-verified

144
145 @property
146 def exists(self) -> bool:
147 """Returns whether the user_id exists on the network."""
148 success, response = self.base_api.auth_idexists(self.user_id)
149 return True if str(response).lower() == 'true' else False
150
151
152 def get_user_network_info (self) -> dict:

Callers 5

__init__Method · 0.45
loadMethod · 0.45
saveMethod · 0.45
saveMethod · 0.45
test_sxt_addfilehandlerFunction · 0.45

Calls 1

auth_idexistsMethod · 0.80

Tested by 1

test_sxt_addfilehandlerFunction · 0.36