add allow? method to check if a trigger is allowed. closes #17