Changed checkStoreClass to static method

This method is called statically from BaseStore on validate method