cppreference.com > C++ Bitsets > test
test
Syntax:
  #include <bitset>
  bool test( size_t pos );

The function test() returns the value of the bit at position pos.