devIsInteractive function

Checks whether a device type is interactive or not