def is_loaded()
in
backend.py [0:0]
2
lines of code
2
McCabe index (conditional complexity)
def is_loaded(self): return self.model is not None and self.agent is not None