def is_empty(string):
    """
    Determines whether the provided string is empty or None or consists of only empty spaces
    :param string:
    :type str:
    :return: bool
    """
    return string is None or len(string) == 0 or not bool(string.replace(' ', ''))