Use interface_exists instead of class_exists