type() comparison won't work due to weakproxy. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org> Reviewer: Renato Filho <renato.filho@openbossa.org>