Function validateConfiguration