public static bool IsAStructureScript(DatabaseVersionLevel x) => x?.ScriptType?.ToUpper() == StructureScriptType;
public static bool IsADataScript(DatabaseVersionLevel x) => x?.ScriptType?.ToUpper() == DataScriptType;
public static bool IsNotAFeatureScript(DatabaseVersionLevel x) => string.IsNullOrWhiteSpace(x?.SubType);
public static bool IsAChangeQueriesScript(DatabaseVersionLevel x) => x?.SubType?.ToUpper() == ChangesScriptSubType;
public static bool IsNotACoreScript(DatabaseVersionLevel x) => !IsAnOdsRepositoryScript(x) && !IsAnOdsImplementationRepositoryScript(x);
public static bool IsForTheODSDatabase(DatabaseVersionLevel x) => x?.DatabaseType?.ToUpper() == EdFiDatabaseType;
public static bool IsAnOdsRepositoryScript(DatabaseVersionLevel x) => x?.ScriptSource?.ToUpper() == OdsScriptSource;