contains method

bool contains(
  1. DIRECTION_ENUM direction
)

Implementation

bool contains(DIRECTION_ENUM direction) => sets.contains(direction);