public boolean hasName(String nameToCheck){
  return namesLowercase.contains(nameToCheck.toLowerCase());
}

public boolean hasName ( String nameToCheck ) { return namesLowercase . contains ( nameToCheck . toLowerCase ( ) ) ; }
check if this color is associated with the given name ( case - insensitive ) .
