refactor: avoid redundant transformations to check if key exists in the state object
refactor: avoid redundant transformations to check if key exists in the state object

davidkpiano/xstate,davidkpiano/xstate,davidkpiano/xstate