This function returns whether a cPanel account has a specific Account Enhancement.
uapi --output=jsonpretty \ --user=username \ AccountEnhancements \ has_enhancement \ id=account_enhancement
{- "apiversion": 3,
- "func": "list",
- "module": "AccountEnhancements",
- "result": {
- "data": 1,
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}