update device extension check to test for empty array