def isLocked(self):
        '''
        Checks if the device screen is locked.

        @return True if the device screen is locked