code: def verify_edx_resources():
      
      required_methods = {
          'ProgramDataExtender': ProgramDataExtender,
      }
  
      for method in required_methods:
          if required_methods[method] is None:
              raise NotConnectedToOpenEdX(
                  _("The following method from the Open edX platform is necessary for this view but isn't available.")
                  + "\nUnavailable: {method}".format(method=method)
              )
docs: Ensure that all necessary resources to render the view are present.