<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def global_variable_is_editable(self, gv_name, intro_message='edit'):
 """Check whether global variable is locked :param str gv_name: Name of global variable to be checked :param str intro_message: Message which is used form a useful logger error message if needed :return: """

        if self.model.global_variable_manager.is_locked(gv_name):
            logger.error("{1} of global variable '{0}' is not possible, as it is locked".format(gv_name, intro_message))
            return False
        return True