<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def grant_user_access(self, instance, user, db_names, strict=True):
 """ Gives access to the databases listed in `db_names` to the user on the specified instance. """

        return instance.grant_user_access(user, db_names, strict=strict)