Emulates exec.library/AttemptSemaphore.
Source position: MUIClass.Base.pas line 307
public function TMUISemaphore.Attempt: Boolean;