Added methods to device classes to check if said device is installed correctly in its port.
Motivation:
Quickly check installation status of devices.
References (optional):
Add a "is_installed()" method for devices #497.
Test Plan:
[x] Compile.
[x] Return true when correct device is installed, true for any device if the variable's class is Device (except class Serial).
[x] Return false when no device or the incorrect device is installed (except class Serial).
IMPORTANT
[ ] Right now the assumption is to check serial device against E_DEVICE_GENERIC, but since this class is reserved for the user's custom electronics, this class has not been tested.
Summary:
Added methods to device classes to check if said device is installed correctly in its port.
Motivation:
Quickly check installation status of devices.
References (optional):
Add a "is_installed()" method for devices #497.
Test Plan: