bool GetDirectionBitBool(int port, int bit)
This method is the same as the GetDirectionBit Method but returning a boolean value where true indicates a set bit (1), meaning it is configured for output, and false indicates a cleared bit (0), meaning it is configured for input. It is simply provided for convenience.