added containsKey to MapAttribute