$lock->isLegacy()
Checks if the lock is coming from an old .lock file
$lock->isLegacy()
has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$lock->isLegacy(): bool
Return type
bool
This method modifies the existing $lock
object it is applied to and returns it again.