code: def check_permission(self, username, password):
      # !!!
      # !!! This code below is a toy demonstration of the API, and not
      # !!! intended for "real" use. A real app should use these APIs
      # !!! to connect Oauth or some other established auth workflow.
      # !!!
      if username == "bokeh" and password == "bokeh":
          return True
      return False
  
file_path: bokeh/examples/server/app/server_auth/auth.py
imports: import tornado
  from tornado.web import RequestHandler
label_desc: Use image node_id 2 for calling the LoginHandler obj's underlying member method code with example usage: obj.check_permission(username, password) and returns: False, True