Check on the black board when it was sold.
It takes 3 month to legaly complete the announced sale.
After the legal sale the landlord has up to 6 month to deliver the vacant unit. He usually will keep renting it out till the last day as he usually has already received 90-95% of the sales proceeds.
Best way - ask your LL

.