How to check whether a file is locked in Cocoa?
===

Is there any API to check whether a file is a locked? I am not able to find any API in the `NSFileManager` class.Let me know if there is any API to check the lock of the file.