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