static bool IsShapePresentInParentModel(ServiceConfiguration config, string shapeName)
{
if (config.IsChildConfig)
{
// Check to see if the structure is present in a parent model
if (config.ParentConfig.ServiceModel.Shapes.SingleOrDefault(
e => e.Name.Equals(shapeName)) != null)
{
return true;
}
}
return false;
}