code: def check_empty_app_dir(self):
          
          if not os.listdir(self.app_path):
              self.handle_error(
                  'No app exists in this directory. Try using "tcinit --template '
                  '{} --action create" to create an app.'.format(self.args.template)
              )
docs: Check to see if the directory in which the app is going to be created is empty.