def families(list_of_families):
    """Returns a predicate that is True if the architecture family of
    the microarchitecture being tested is in the list, False otherwise.
    """

    def _impl(microarchitecture):
        return str(microarchitecture.family) in list_of_families

    return _impl