Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Stability-AI/generative-models
/ exists
Function
exists
sgm/modules/attention.py:56–57 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
54
55
56
def
exists(val):
57
return
val is not None
58
59
60
def
uniq(arr):
Callers
4
default
Function · 0.70
forward
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected