backwards compatible trust level check. fixes #17