<commit_before># type: service

The <service> inspectors provide access to all services configured on supported operating systems. Using an inspector for which there is no service results in an error referring to a nonexistent object.

{% qna %}
Q: relay service
E: Singular expression refers to nonexistent object.
{% endqna %}

To avoid errors, check if the service exists before trying to use its inspector.

{% qna %}
Q: exists relay service
A: False
{% endqna %}

# can interact with desktop of &lt;service&gt; : boolean

Indicates the system is configured to allow the service to interact with the desktop.

# checkpoint of &lt;service&gt; : integer

Service specific value indicating its checkpoint state.

# display name of &lt;service&gt; : string

Returns the display name of the service.<commit_msg>Fix for BFP-12598 Update service.md<commit_after># type: service

The &lt;service&gt; inspectors provide access to all services configured on supported operating systems. Using an inspector for which there is no service results in an error referring to a nonexistent object.

{% qna %}
Q: relay service
E: Singular expression refers to nonexistent object.
{% endqna %}

To avoid errors, check if the service exists before trying to use its inspector.

{% qna %}
Q: exists relay service
A: False
{% endqna %}

# can interact with desktop of &lt;service&gt; : boolean

Indicates the system is configured to allow the service to interact with the desktop.

# checkpoint of &lt;service&gt; : integer

Service specific value indicating its checkpoint state.

# display name of &lt;service&gt; : string

Returns the display name of the service.
{'fraction_non_alphanumeric': 0.06674757281553398, 'fraction_numerical': 0.003033980582524272, 'mean_word_length': 4.666666666666667, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7581813', 'n_tokens_mistral': 453, 'n_tokens_neox': 421, 'n_words': 227}