Generalize check for fromEntrySeq