Legume?

Legume?

Observation - Legume? - UK and Ireland. Description: yellow pea-like flowers, pinnate leaves, puffy seed pods 2-3 long

yellow pea-like flowers, pinnate leaves, puffy seed pods 2-3" long