private static bool IsInFeaturePack(RawTakeRateDataItem dataItem)
 {
     try
     {
         return !dataItem.OxoCode.Contains("P") && dataItem.FeaturePackId.HasValue;
     }
     catch (Exception)
     {
         return false;
     }
 }
 private static bool IsInFeaturePack(RawTakeRateDataItem dataItem)
 {
     try
     {
         return(!dataItem.OxoCode.Contains("P") && dataItem.FeaturePackId.HasValue);
     }
     catch (Exception)
     {
         return(false);
     }
 }
 private static bool IsInExclusiveFeatureGroup(RawTakeRateDataItem dataItem)
 {
     try
     {
         return !string.IsNullOrEmpty(dataItem.ExclusiveFeatureGroup)
                && !dataItem.OxoCode.Contains("NA")
                && dataItem.ModelId.HasValue
                && dataItem.FeaturesInExclusiveFeatureGroup > 1;
     }
     catch (Exception)
     {
         return false;
     }
 }
 private static bool IsInExclusiveFeatureGroup(RawTakeRateDataItem dataItem)
 {
     try
     {
         return(!string.IsNullOrEmpty(dataItem.ExclusiveFeatureGroup) &&
                !dataItem.OxoCode.Contains("NA") &&
                dataItem.ModelId.HasValue &&
                dataItem.FeaturesInExclusiveFeatureGroup > 1);
     }
     catch (Exception)
     {
         return(false);
     }
 }
 public bool IsMatchingFeature(RawTakeRateDataItem dataItem)
 {
     return (IsFdpFeature && dataItem.FdpFeatureId == GetFeatureId()) || (IsFeature && dataItem.FeatureId == GetFeatureId()) || (IsFeaturePack && !dataItem.FeatureId.HasValue && dataItem.FeaturePackId == GetFeatureId());
 }
 public bool IsMatchingModel(RawTakeRateDataItem dataItem)
 {
     return (IsFdpModel && dataItem.FdpModelId == GetModelId()) || (!IsFdpModel && dataItem.ModelId == GetModelId());
 }
 public bool IsMatchingFeature(RawTakeRateDataItem dataItem)
 {
     return((IsFdpFeature && dataItem.FdpFeatureId == GetFeatureId()) || (IsFeature && dataItem.FeatureId == GetFeatureId()) || (IsFeaturePack && !dataItem.FeatureId.HasValue && dataItem.FeaturePackId == GetFeatureId()));
 }
 public bool IsMatchingModel(RawTakeRateDataItem dataItem)
 {
     return((IsFdpModel && dataItem.FdpModelId == GetModelId()) || (!IsFdpModel && dataItem.ModelId == GetModelId()));
 }