Battery for arduino mkr1000

Are the connectors on these batteries compatible with the connector on Arduino MKR1000?

It certainly looks like it! They’re both JST, so they absolutely should work together.