Add check if table is init

Signed-off-by: Jevon van Dijk <jevon@atabix.nl>