Typo in method name: isLocked