hw_is_claimed() function
Determine if a resource is claimed at the time of the call The resource ownership is indicated by the bit_index bit in an array of bits.
Arguments
bits
pointer to an array of bits (8 bits per byte)
bit_index
resource to check (bit index into array of bits)
Return value
true if the resource is claimed