Checks if syntax entry has correct value.