code: def is_question_valid(self):
          
          if self.question_upload_type == STRING:
              return self.question_answer_string and True
          else:
              return self.question_upload_file and self.question_checker_script
docs: Function DocString