Checks if a specific block is reachable.
bool isBlockReachable(int blockId) { return getReachableBlocks().contains(blockId); }