if(element.contentEditable != null) // then it's supported
if(typeof(element.contentEditable) != 'undefined') // same thing.. but with typeof you can be more specific about the type of property you need to find