checking is server initialized