It depends. In most cases the prop will be windmilling and driving the engine so there will be oil pressure. Try it by pulling the mixture, it makes a big difference to your glide range.
OTOH if the engine has suffered catastrophic damage such a a broken crank all bets are off, it might be jammed solid or have lost its oil.