pub async fn is_item_pinned( db: State<'_, DatabaseWrapper>, item_id: String, ) -> Result<bool, String>
Check if an item is pinned