import * as deckDef from '@opentrons/shared-data/deck/definitions/2/ot2_standard.json' ; export const isValidSlot = ( slot ) : boolean => { const slots = deckDef . locations . orderedSlots . map ( ( slotDef ) => slotDef . id ) ; return slots . includes ( slot ) ; } ;