Local identifiability of $l_1$-minimization dictionary learning: a sufficient and almost necessary condition