This function checks whether a cPanel account has access to a feature.
uapi --output=jsonpretty \ --user=username \ Features \ has_feature \ name='autossl'
{- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 0,
- "warnings": null
}
}