code: def get_scanner_param_mandatory(self, param):
          
          assert isinstance(param, str)
          entry = self.scanner_params.get(param)
          if not entry:
              return False
          return entry.get('mandatory')
docs: Returns if a scanner parameter is mandatory.