PHP function checks if a class already has been defined
Sometime you might run into problems in PHP where a class is already being defined. In order to avoid defining the same class twice, you can use class_exists function to do the check first.