What I want to do is write "True" if there is data suitable for the filters made, otherwise "False"
if ChartSimilar.objects.get(chart=pk, year=year):
print('True')
else:
print('False')
charts.models.DoesNotExist: ChartSimilar matching query does not exist.
I get an error