def get_or_else(hashmap, key, default_value=None):
    """ Get value or default value
    Args:
        hashmap (dict): target
        key (Any): key
        default_value (Any): default value
    Returns:
        value of key or default_value
    """
    value = hashmap.get(key)
    if value is None:
        return default_value
    else:
        if 0 < len(value.strip()):
            return value
        else:
            return default_value