[#NetEventsInterface-HasAllDesirableServiceFlags]
= xref:NetEventsInterface.adoc[NetEventsInterface]::HasAllDesirableServiceFlags
:relfileprefix: ../
:mrdocs:

Callback to determine whether the given set of service flags are sufficient for a peer to be &quot;relevant&quot;&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
HasAllDesirableServiceFlags(xref:ServiceFlags.adoc[ServiceFlags] services) const = 0;
----

== Return Value

true if the services make the peer relevant to us&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *services* [in]
| the peer&apos;s advertised service flags&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
