from typing import Dict, Any from aiogram.types import Message from app.config.config import ADMIN_ID from app.database.requests import check_user_registered async def admin_check(message: Message, data: Dict[str, Any]) -> bool: return message.from_user.id in ADMIN_ID async def registration_check(message: Message, data: Dict[str, Any]) -> bool: return await check_user_registered(message.from_user.id)