Fix case on isPrivate()