Btw this one will also won't fail if the given dictionary contains something which is not a pair. Same for the other uses of `lists:key*`.