<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _puts(message, level, **kwargs):
 """ Generate fabric-style output if and only if status output has been selected. """

    if not output.get(level):
        return
    print "[{hostname}] {message}".format(hostname=env.host_string,
                                          message=message.format(**kwargs))