app_has_custom
Return true if app has customized method attr.
def app_has_custom(
app: Celery,
attr: string
) - > boolean
Return true if app has customized method attr.
Parameters
| Name | Type | Description |
|---|---|---|
| app | Celery | The Celery application instance to inspect for customizations. |
| attr | string | The name of the method or property to check for an override in the inheritance chain. |
Returns
| Type | Description |
|---|---|
boolean | True if the attribute has been overridden in a subclass or monkey-patched, False if it uses the default implementation from Celery or object. |