in csp/middleware.py [0:0]
def __bool__(self) -> bool:
"""
If the wrapped function has been evaluated, return True.
If the wrapped function has not been evalated, return False.
"""
return getattr(self, "_wrapped") is not empty