This function returns true if the connection is a backend connection and false if it's a frontend connection.