Programmatically check whether the Pattern word was created earlier