from video.constants.header import AUTHORIZED_IDENTITIES def is_jwt_identity_authorized(jwt_identity_id: str) -> bool: """Check if the given JWT identity UUID is authorized. Args: jwt_identity_id (str): The identity UUID. """ return jwt_identity_id in AUTHORIZED_IDENTITIES