private static bool IsMetaMethod(IEntity entity) { ExternalMethod m = entity as ExternalMethod; if (m == null) return false; return m.IsMeta; }