public boolean has(final String name){
  return contents.containsKey(name.toLowerCase());
}

public boolean has ( final String name ) { return contents . containsKey ( name . toLowerCase ( ) ) ; }
checks whether an npc with the given name exists .
