check schema installation before using it