try class_exists