utils.check_lazy
def check_lazy(obj: typing.Any, checks: typing.Iterable[Callable] | Callable) -> boolCheck if an object is a lazy call to a target callable.
Parameters
| Name | Type | Description |
|---|---|---|
| obj | any | The object to check. |
| target | callable or str | The target callable to check against. |
Returns
bool — Whether the object is a lazy call to the target callable.
Source: laco/utils.py:192