This is the 12042nd most frequent Polish word.
li
"Li" does not have meaning in Polish as an independent word; it may be part of larger terms or names.
The word 'li' here is used as an equivalent to 'if' to introduce a conditional clause.
Czy wiesz, li pada deszcz?
Do you know if it's raining?
In this sentence, 'li' again denotes a condition, showing doubt or speculation.
Zastanawiam się, li było to dobre rozwiązanie.
I wonder if that was a good solution.
'Li' here is used similarly, to introduce uncertainty or a question within a statement.