contains method

bool contains(
  1. int value
)

Implementation

bool contains(int value)
{
  return value >= begin && value <= end;
}