Added function wasEstablishedBefore