Find Missing Shared Parameters in Project

#📃 Get Parameter Bindings Map.
bm = doc.ParameterBindings

#💡 Create a forward iterator 
itor = bm.ForwardIterator()
itor.Reset()

#🔁 Iterate over the map and collect Names
param_names = []
while itor.MoveNext():
    d = itor.Key 
    param_names.append(d.Name)
    
#✅ Check if Parameters are loaded:
req_params = ['EF_Text','EF_Material','ImpossibleParam']
missing_params = [p for p in req_params if p not in param_names]

#👀 Display Missing Parameters
if missing_params:
    print('Missing Parameters:')
    for p_name in missing_params:
        print(p_name)

⌨️ Happy Coding!
Erik Frits