<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def queue_exists(self, name):
 """ Returns True or False, depending on the existence of the named queue. """

        try:
            queue = self._manager.head(name)
            return True
        except exc.NotFound:
            return False