code: def verify_id(ctx, param, app):
      
      if app is None:
          raise TypeError("Select an experiment using the --app parameter.")
      elif app[0:5] == "dlgr-":
          raise ValueError(
              "The --app parameter requires the full "
              "UUID beginning with {}-...".format(app[5:13])
          )
      return app
docs: Verify the experiment id.