query a class to know if it is abstract