"""Shared handler authorization utility functions.""" from timed_release.constants.authorization import AUTHORIZED_IDENTITIES def is_jwt_identity_authorized(jwt_identity_id): """Check if the given JWT identity UUID is authorized. Args: jwt_identity_id (str): The identity UUID. """ return jwt_identity_id in AUTHORIZED_IDENTITIES