private static bool UsesTransactionFlowProperties(BindingElementCollection bindingElements, ContractDescription contract)
 {
     TransactionFlowBindingElement element = new BindingElementCollection(bindingElements).Find<TransactionFlowBindingElement>();
     if (element == null)
     {
         return false;
     }
     return element.IsFlowEnabled(contract);
 }