def is_backlog(current_block_id: str) -> bool: return storage.does_superkey_exist( f"BROADCAST/TO_BROADCAST/{current_block_id}/")
def test_does_superkey_exist_calls_storage_does_superkey_exist_with_params( self): storage.does_superkey_exist("prefix") storage.storage.does_superkey_exist.assert_called_once_with( "test", "prefix")