parameters: (self, key)
docstring: Check if configuration key is valid
docstring_summary: Check if configuration key is valid
docstring_tokens: Check if configuration key is valid
function: def valid_key(self, key):
          """Check if configuration key is valid"""
          if key.startswith("__") and key.endswith("__"):
              return False
          else:
              return True
function_tokens: def valid_key ( self , key ) : if key . startswith ( "__" ) and key . endswith ( "__" ) : return False else : return True