# Return whether queried features are enabled This function allows you to search for cPanel account features and determine whether those features are enabled. Endpoint: GET /Features/has_features_like Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `pattern` (string, required) The feature's name that you wish to search. To use a regular expression, you must set the parameter's value to . Example: "mail" - `is_regex` (integer) Whether the parameter's value is a regular expression. * - The parameter's value is a regular expression. * - The parameter's value is a regular expression Enum: 0, 1 ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "has_features_like" - `module` (string) The name of the module called. Example: "Features" - `result` (object) - `result.data` (object,null) Object containing the result of the feature search. Example: {"has_matching_features":1} - `result.data.has_matching_features` (integer) Whether any features match the search pattern and are enabled. * - At least one matching feature is enabled. * - No matching features are enabled (either no matches or all matches are disabled). Enum: 0, 1 - `result.errors` (array,null) List of errors if the API failed. Common errors include missing pattern parameter or invalid regular expression syntax. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.status` (integer) Whether the API call was successful. * - Success. Features were searched and results returned. * - Failed. Check the field for details (e.g., missing pattern). Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.