fix(resolver): fix spelling of __nonzero__ magic method