public boolean contains(String key){
  return mSharedPreferences.contains(key);
}

public boolean contains ( String key ) { return mSharedPreferences . contains ( key ) ; }
returns whether the settings contains a specific key
