check_context


Description:

public bool check_context (Context context)

It will check if the context is allowed or not.

The this will check all its entries against Context interface, host IP and network fields information. This function doesn't take into account the this status (enabled or not).

Parameters:

this

A ContextFilter

context

A Context to test.

Returns:

true if context is matching the this criteria, false otherwise.