Add is_valid_channel()

Commit adds function is_valid_channel() to verify IPMI Channel client provided
is within bounds.