[#BanMan-IsBanned-0e]
= xref:BanMan.adoc[BanMan]::IsBanned
:relfileprefix: ../
:mrdocs:

Return whether net&lowbar;addr is banned

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e3ae94b88)&rsqb;&rsqb;
bool
IsBanned(xref:CNetAddr.adoc[CNetAddr] const& net&lowbar;addr);
----

== Return Value

true if the address is banned&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *net&lowbar;addr*
| The address to test&period;
|===


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