has_valid_policy


Description:

public virtual bool has_valid_policy (string domain)

Gets whether this has a currently valid policy for domain.

Parameters:

this

a HSTSEnforcer

domain

a domain.

Returns:

true if access to domain should happen over HTTPS, false otherwise.