def divide_dict(a_dict, divide_func):
    """Divide a dict like object into two parts.

    - a_dict: dict like object
    - divide_func: the divide function to return True/False

    Return two parts of the dict.

    Example:
    divide({'a': 1, 'b': 2}, lambda k, v: v > 1)   ->   {'b': 2}, {'a': 1}
    """
    suit, not_suit = {}, {}
    for key, value in a_dict.items():
        result = suit if divide_func(key, value) else not_suit
        result[key] = value
    return suit, not_suit