Single application instane

Hello!

Is there anyway to check that only single application instance may run on Desktop?

Thanks in advance.