public static boolean isTreasureChestBlock(Block block){
  return treasureBlocks.contains(block);
}

public static boolean isTreasureChestBlock ( Block block ) { return treasureBlocks . contains ( block ) ; }
checks if a block is part of a treasure chest .
