How do i get the common ids from two list (created from dictionary)?

How do i get the common ids from two list (created from dictionary)?

For example I have two dictionaries:
Dictionary 1: key: id value: EF1
key: latitude value: 26.57757
key: id value: EF2
key: latitude value: 26.57780
key: id value: EF3
key: latitude value: 26.57744
Dictionary 2: key: id value: EF7
key: longitude value: 26.23456
key: id value: EF2
key: longitude value: 26.57780
key: id value: EF3
key: longitude value: 26.57744

After it gets created into a list (imported from firestore), it gets covered to list on using a variable.
Now i want the keys: ID which are common in both (Here: EF2, EF3). How do i do that?

Create a procedure to check if keys from dict1 are also in dict2 and then if values are identical