<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _terminal_use_capability(capability_name):
 """ If the terminal supports the given capability, output it. Return whether it was output. """

    curses.setupterm()
    capability = curses.tigetstr(capability_name)
    if capability:
        sys.stdout.write(_unicode(capability))
    return bool(capability)