added utility to check for device extension