def pin(value):
    '''A small pin that represents the result of the build process'''
    if value is False:
        return draw_pin('Build Failed', 'red')
    elif value is True:
        return draw_pin('Build Passed')
    elif value is NOT_FOUND:
        return draw_pin('Build N / A', 'lightGray', 'black')
    return draw_pin('In progress ...', 'lightGray', 'black')
A small pin that represents the result of the build process