code: public static boolean isClassPresent(String classname) {
  		try {
  			Class.forName(classname);
  			return true;
  		} catch (ClassNotFoundException e) {
  
  		}
  		return false;
  	}
docs: Checks whether the class is present.
  
  @param classname
  the name of class to be checked
  @return true if the class is present.