def METHOD_NAME(msg: discord.Message) -> bool:
    return bool(
        msg.content.isdigit()
        and int(msg.content) in range(len(filtered_items) + 1)
        and msg.author.id == ctx.author.id
        and msg.channel.id == ctx.channel.id
    )