asSelfManagedLatticeResourceOrNull