mongo_nodes is array, empty array is true. so we should check empty or not