def class_exists?(name)
      rslt = true
      begin
        get_class name
      rescue OrientdbError => e
        raise e if e.is_a? ConnectionError and e.message == 'not connected' # workaround for AOP2 (unable to decorate already existing methods)
        rslt = false
      end
      rslt
    end
def class_exists?(name)
      rslt = true
      begin
        get_class name
      rescue OrientdbError => e
        raise e if e.is_a? ConnectionError and e.message == 'not connected' # workaround for AOP2 (unable to decorate already existing methods)
        rslt = false
      end
      rslt
    end
Checks existence of a given class.