A criterion for Lie algebroid connections on a compact Riemann surface | Synapse