impemented has function for Device and Connection