modify isConfigured function, now it works without callbacks