from typing import Iterable


def check_type(data):
    """
    Check type of an object. Return False if it is dictionary or list, True - otherwise.
    """
    if isinstance(data, str):
        return True
    elif isinstance(data, Iterable):
        return False
    return True