public boolean isDefault(String scope,String key){
synchronized (mLock) {
    String defaultValue=getStringDefault(key);
    String value=getString(scope,key);
    return value == null ? false : value.equals(defaultValue);
  }
}

public boolean isDefault ( String scope , String key ) { synchronized ( mLock ) { String defaultValue = getStringDefault ( key ) ; String value = getString ( scope , key ) ; return value == null ? false : value . equals ( defaultValue ) ; } }
check whether a settings ' s value is currently set to the default value .
