Ai, we actually do have that function already! Thanks, close #90