def build_project(project):
    is_dependencies_built = True
    for dep in project.dependencies:
        if (dep.state != 1):
            is_dependencies_built = False
            break
    if is_dependencies_built:
        project.state = 1
        return True
    else:
        return False
def build_project(project):
    is_dependencies_built = True
    for dep in project.dependencies:
        if (dep.state != 1):
            is_dependencies_built = False
            break
    if is_dependencies_built:
        project.state = 1
        return True
    else:
        return False