Read a LEGO color sensor boolean value.
This function lets you directly access a specific LEGO color sensor boolean value. Both the port and the color index must be constants.