How to check system properties