This function verifies that koality has enabled the cPanel user's Site Quality Monitoring account.
uapi --output=jsonpretty \ --user=username \ SiteQuality \ is_site_quality_user_enabled
{- "apiversion": 3,
- "func": "is_site_quality_user_enabled",
- "module": "SiteQuality",
- "result": {
- "data": {
- "enabled": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}