correct isObjectId documentation

isObjectId is a boolean, but documented as a function