A Characterisation of etale groupoids