Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TransluceAI/observatory
/ is_empty
Method
is_empty
lib/util/util/chat_input.py:53–54 ·
view source on GitHub ↗
(self, subject: "Subject")
Source
from the content-addressed store, hash-verified
51
return
[subject.decode(x)
for
x in self.tokenize(subject)]
52
53
def
is_empty(self, subject:
"Subject"
) -> bool:
54
return
len(self.tokenize(subject)) == 0
55
56
###########
57
# Display #
Callers
nothing calls this directly
Calls
1
tokenize
Method · 0.95
Tested by
no test coverage detected