question: private static boolean checkName ( EditableResources r , String name ) { for ( String n : r . getResourceNames ( ) ) { if ( n . equals ( name ) ) { return true ; } } return false ; }
target:  Returns true if the name already exists in the resources