Is there a simple way to detect if a networkcard is installed / pressend?

I must detect if network support must be enabled or not.

Mark