contains method

bool contains(
  1. Capabilities childValue
)

Implementation

bool contains(Capabilities childValue){
    return value & childValue.value == childValue.value;
}