public bool IsTypeOf( FilterContext context, NodeId typeDefinitionId) { if (context == null) throw new ArgumentNullException("context"); return context.TypeTree.IsTypeOf(TypeDefinitionId, typeDefinitionId); }