public static bool ScanElementHasMappingTags(BCOM.Element comElement, out
                                                     IEnumerable <TagToDataGroupMapProperty> mapTags)
        {
            var listProps = new List <TagToDataGroupMapProperty>();

            foreach (TagToDataGroupMapProperty item in TagsToDataGroupMapping.Instance.Items)
            {
                BCOM.TagElement tag = comElement.GetTags().FirstOrDefault(x =>
                                                                          x.TagSetName.Equals(item.TagSetName) && x.TagDefinitionName.Equals(item.TagName));

                if (tag != null)
                {
                    item.Value = tag.Value;
                    listProps.Add(item);
                }
            }

            mapTags = listProps.Count != 0 ? listProps : null;
            return(listProps.Count != 0);
        }