we don't need to check for the "lock" property as it's internal. Just checking for the class is enough