### Question:
ExcelReader { public boolean sheetExists(String sheetName) { return (workBook.getSheet(sheetName) != null); } ExcelReader(DataResource resource); List<Row> getAllExcelRows(String sheetName, boolean heading); boolean sheetExists(String sheetName); List<String> getRowContents(String sheetName, int rowIndex, int size); List<String> getHeaderRowContents(String sheetName, int size); List<String> getRowContents(Row row, int size); int getRowIndex(String sheetName, String key); Row getAbsoluteSingeExcelRow(String sheetName, int rowNumber);  }### Answer:
@Test(groups = "unit") public void testSheetExist() { assertTrue(excelReader.sheetExists("USER")); assertFalse(excelReader.sheetExists("RandomSheet")); }