Is there a **generic** way in javascript to check if the css property is supported by current browser or not?

I am currently using "**document.compatMode**" to check if it is quirks or not. But there must be a way to check specific to a property.