title: Python check - Find the last occurrence of the keyword match in a file and then check the regex
body: <p>I have a text file:
  flower.txt</p>
  
  <p>content in file:</p>
  
  <pre><code>flower white
  flower red
  flower green
  flower blue
  Have some other text to the end of file.
  </code></pre>
  
  <p>I want to grep the line, that is last occurrence of word "flower" and validate the line if it is "flower blue". </p>
  
  <p>Not sure which function helps doing this. </p>
  
  <pre><code>import re
  
  with open('flower.txt', "r") as f:
  </code></pre>
  
  <p>will <code>re.find</code> help???  </p>