code: def is_user_accepted_by_access_control(self, user_info):
          
          if self.get_access_control_method() is None:
              return True
          elif not user_info:
              return False
          elif self.get_access_control_method() == "username":
              return user_info["username"] in self.get_access_control_list()
          elif self.get_access_control_method() == "email":
              return user_info["email"] in self.get_access_control_list()
          elif self.get_access_control_method() == "binding":
              return set(user_info["bindings"].keys()).intersection(set(self.get_access_control_list()))
          return False
docs: Returns True if the user is allowed by the ACL