allowConnection

Checks if the connection is allowed or not.