class_exists() accepts string parameter, fixes #1