Update tarantula_db_sync.py

Additional check of is_enabled when generating lazy mode table