public static boolean hasProperty(String name){
  return getProperty(name) != null;
}

public static boolean hasProperty ( String name ) { return getProperty ( name ) != null ; }
this method determines whether a property exists , as a system property or environment variable .
