def resource_validation(resource_name, attrs):
        """Additional validation of the request

        Args:
            resource_name(str)
        """
        if attrs.get('auth_mode', None) == 'cert':
            check_vpncertificate_exists(resource_name,
                                        attrs)
    def resource_validation(resource_name, attrs):
        """Validate the request"""

        if attrs['auth_mode'] == 'cert':
            check_vpncertificate_exists(resource_name,
                                        attrs['id'])