code: Boolean isResource(String resource) {
  		Boolean isResource = false;
  		if (!utils.isIdentifier(resource)) {
  			try {
  				String clazz = getControllerClass(resource);
  				if (clazz != null) {
  					Class.forName(clazz);
  					isResource = true;
  				}
  			} catch (ClassNotFoundException e) {
  				// It isn't a resource because there isn't a controller for it
  			}
  		}
  		return isResource;
  	}
docs: Checks if a string represents a resource or not. If there is a class
  which could be instantiated then is a resource, elsewhere it isn't
  
  @param resource
  String that coulb be a resource.
  @return true if chunk is a resource.