code: def _validate_install(self):
  
          ''' a method to validate docker is installed '''
  
          from subprocess import check_output, STDOUT
          sys_command = 'docker --help'
          try:
              check_output(sys_command, shell=True, stderr=STDOUT).decode('utf-8')
              # call(sys_command, stdout=open(devnull, 'wb'))
          except Exception as err:
              raise Exception('"docker" not installed. GoTo: https://www.docker.com')
      
          return Truf _validate_install(self):
  
          ''' a method to validate docker is installed '''
  
          from subprocess import check_output, STDOUT
          sys_command = 'docker --help'
          try:
              check_output(sys_command, shell=True, stderr=STDOUT).decode('utf-8')
              # call(sys_command, stdout=open(devnull, 'wb'))
          except Exception as err:
              raise Exception('"docker" not installed. GoTo: https://www.docker.com')
      
          return True
docs: a method to validate docker is installed