public boolean containsValue(Object value) {if(value instanceof CustomProperty) {return props.containsValue(value);}for(CustomProperty cp : props.values()) {if(cp.getValue() == value) {return true;}}return false;}
public override bool ContainsValue(Object value){if (value is CustomProperty){return base.ContainsValue(value);}else{foreach (object cp in base.Values){if ((cp as CustomProperty).Value == value){return true;}}}return false;}