<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def write_yaml(filename, content):
    '''
    Writes YAML files

    :param filename:
        The full path to the YAML file
    :param content:
        The content to dump
    :returns:
        The size written
    '''

    y = _yaml.dump(content, indent=4, default_flow_style=False)
    if y:
        return write_file(filename, y)