class_docstr: Class which encapsulates logit of the master.
docstr: When work is already populated asks whether we should continue.
  
  This method prints warning message that work is populated and asks
  whether user wants to continue or not.
  
  Args:
    work: instance of WorkPiecesBase
  
  Returns:
    True if we should continue and populate datastore, False if we should stop
code: def ask_when_work_is_populated(self, work):
      """When work is already populated asks whether we should continue.
  
      This method prints warning message that work is populated and asks
      whether user wants to continue or not.
  
      Args:
        work: instance of WorkPiecesBase
  
      Returns:
        True if we should continue and populate datastore, False if we should stop
      """
      work.read_all_from_datastore()
      if work.work:
          print(
              "Work is already written to datastore.\n"
              "If you continue these data will be overwritten and "
              "possible corrupted."
          )
          inp = input_str(
              "Do you want to continue? "
              '(type "yes" without quotes to confirm): '
          )
          return inp == "yes"
      else:
          return True
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import collections
  from collections import defaultdict
  import csv
  from io import BytesIO
  import logging
  import os
  import pickle
  import random
  import time
  from six import iteritems
  from six import iterkeys
  from six import itervalues
  from six.moves import input
  import eval_lib
label_desc: Use image node_id 2 for calling the EvaluationMaster obj's underlying member method code with example usage: obj.ask_when_work_is_populated(work) and returns: unknown, True