Method Structures_SubtreeIsReferenced(bool)
SELECT 1 when anything points to a structure or a structure below it (a value, an overriding structure and, with
withMigrations, a record of _migrations), else 0. Params: $1 = structure id.
public string Structures_SubtreeIsReferenced(bool withMigrations)