bm = doc.ParameterBindings
itor = bm.ForwardIterator()
itor.Reset()
param_names = []
while itor.MoveNext():
d = itor.Key
param_names.append(d.Name)
req_params = ['EF_Text','EF_Material','ImpossibleParam']
missing_params = [p for p in req_params if p not in param_names]
if missing_params:
print('Missing Parameters:')
for p_name in missing_params:
print(p_name)