code: def watched_extension(extension):
      
      for ext in hamlpy.VALID_EXTENSIONS:
          if extension.endswith('.' + ext):
              return True
      return False
docs: Return True if the given extension is one of the watched extensions