def check_copyright(lines):
    index = [i for (i, s) in enumerate(lines[0:23]) if ('Copyright' in s)]
    if (len(index) == 0):
        return 'No copyright header found'
    beginning_string = ' * Copyright (c) 2012-'
    year = lines[index[0]][len(beginning_string):(len(beginning_string) + 4)]
    if (lines[(index[0] + 1)][0] != ' '):
        return 'Copyright header is not correctly indented'
    if (year != current_year):
        return ((('Out of date copyright notice ' + year) + ' || ') + current_year)
    return ''
def check_copyright(lines):
    index = [i for (i, s) in enumerate(lines[0:23]) if ('Copyright' in s)]
    if (len(index) == 0):
        return 'No copyright header found'
    beginning_string = ' * Copyright (c) 2012-'
    year = lines[index[0]][len(beginning_string):(len(beginning_string) + 4)]
    if (lines[(index[0] + 1)][0] != ' '):
        return 'Copyright header is not correctly indented'
    if (year != current_year):
        return ((('Out of date copyright notice ' + year) + ' || ') + current_year)
    return 