def suite_runner(qualifier, trues, falses):
    """
    Run func with trues and falses, checking if they yield
    True and False respectively.

    :param qualifier: (any) -> bool, qualifier
    :param trues: [any, ...], objects that should be qualified
    :param falses: [any, ...], objects that should not be qualified
    :return: bool, if all trues and falses run correctly against qualifier
    """
    all_true = all(map(qualifier, trues))
    all_false = not all(map(qualifier, falses))
    return all_true and all_false