<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_databases(self, like=None):
 """ List databases in the Impala cluster. Like the SHOW DATABASES command in the impala-shell. Parameters like : string, default None e.g. 'foo*' to match all tables starting with 'foo' Returns ------- databases : list of strings """

        statement = 'SHOW DATABASES'
        if like:
            statement += " LIKE '{0}'".format(like)

        with self._execute(statement, results=True) as cur:
            results = self._get_list(cur)

        return results