isAbstract - check if a class is abstract