You can use in
or do explicit checks:
if 'blue ' in words:
print 'yes'
or
if words.startswith('blue '):
print 'yes'
Edit:
Those 2 will only work if the sentence doesnt end with 'blue'.
To check for that, you can do what one of the previous answers suggested
if 'blue' in words.split():
print 'yes'