Added function to namespace which checks if namespace is empty