class DynamoDBManager {

    public static boolean doesTableExist(final AmazonDynamoDB dynamoDB, final String tableName) {
        try {
            dynamoDB.describeTable(tableName);
            return true;
        } catch (final ResourceNotFoundException e) {
            return false;
        } catch (final AmazonClientException e) {
            LOGGER.severe(e.getMessage());
            return false;
        }

    }

    private  DynamoDBManager();

}