class_docstr: Class to derive in order to implement concrete auth managers.
  
  Auth managers are responsible for any user management related operation such as login, logout, authz, ...
  
  :param appbuilder: the flask app builder
docstr: Return whether the user is authorized to perform a given action on a pool.
  
  :param method: the method to perform
  :param details: optional details about the pool
  :param user: the user to perform the action on. If not provided (or None), it uses the current user
code: def is_authorized_pool(
      self,
      *,
      method: ResourceMethod,
      details: PoolDetails | None = None,
      user: BaseUser | None = None,
  ) -> bool:
      """
      Return whether the user is authorized to perform a given action on a pool.
  
      :param method: the method to perform
      :param details: optional details about the pool
      :param user: the user to perform the action on. If not provided (or None), it uses the current user
      """
  
imports: from __future__ import annotations
  from abc import abstractmethod
  from functools import cached_property
  from typing import TYPE_CHECKING, Container, Literal, Sequence
  from sqlalchemy import select
  from airflow.auth.managers.models.resource_details import DagDetails
  from airflow.exceptions import AirflowException
  from airflow.models import DagModel
  from airflow.utils.log.logging_mixin import LoggingMixin
  from airflow.utils.session import NEW_SESSION, provide_session
label_desc: Use image node_id 14 for calling the BaseAuthManager obj's underlying member method code with example usage: obj.is_authorized_pool() without return types