We may never know what lies beyond the boundaries of the observable universe, but the fabric of the cosmos can tell us whether the universe is infinite or not