check if the extension is empty