import code


def line_in_file(content, text):
    """Test if row of text exists in file content"""
    for line in content.splitlines():
        line = line.strip()
        if line == code:
            return True
    return False