exist

It will check if lock already exist or not, then return result in bool format

Arguments
Name Type Description Required
name string name of lock file yes

Output : bool

Static or normal : Static

Examples :

lock::exist('lock_name');